Get the bounding boxes over the text from the image using stroke width transform (SWT)
(Image)
	    
          (object)
	    
          | Name | Description | 
|---|---|
| options.scaleInvariant boolean(defaulttrue) | Enable scale invariant SWT (to scale to different sizes and then combine the results) | 
| options.interval number(default1) | Intervals for the scale invariant option | 
| options.minNeighbors number(default1) | Minimal neighbors to make a detection valid, this is for scale-invariant version. | 
| options.size number(default3) | Size of the sobel operator for Canny Edge. | 
| options.lowThresh number(default124) | Low threshold for Canny Edge. | 
| options.highThresh number(default204) | High threshold for Canny Edge. | 
| options.maxHeight number(default300) | Maximum height for a letter. | 
| options.minHeight number(default8) | Minimum height for a letter. | 
| options.minArea number(default38) | Minimum occupied area for a letter. | 
| options.aspectRatio number(default8) | Maximum aspect ratio for a letter. | 
| options.stdRatio number(default0.83) | The inner-class standard derivation when grouping letters. | 
| options.thicknessRatio number(default1.5) | The allowable thickness variance when grouping letters. | 
| options.heightRatio number(default1.7) | The allowable height variance when grouping letters. | 
| options.intensityThresh number(default31) | The allowable intensity variance when grouping letters. | 
| options.distanceRatio number(default2.9) | The allowable distance variance when grouping letters. | 
| options.intersectRatio number(default1.3) | The allowable intersect variance when grouping letters. | 
| options.elongateRatio number(default1.9) | The allowable elongate variance when grouping letters. | 
| options.letterThresh number(default3) | The allowable letter threshold. | 
| options.breakdown boolean(defaulttrue) | If breakdown text line into words. | 
| options.breakdownRatio number(default1) | Apply OTSU method and if inter-class variance above the threshold, it will be break down into words. | 
Array<Roi>:
        Array of regions that contains text.