stroke-width-transform 1.0.0 | Documentation

stroke-width-transform

1.0.0

strokeWidthTransform

src/loadSWT.js

Get the bounding boxes over the text from the image using stroke width transform (SWT)

strokeWidthTransform(image: Image, options: object): Array<Roi>
Parameters
image (Image)
options (object)
Returns
Array<Roi>: Array of regions that contains text.