public class TextDetector extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
nativeObj |
| Modifier | Constructor and Description |
|---|---|
protected |
TextDetector(long addr) |
| Modifier and Type | Method and Description |
|---|---|
static TextDetector |
__fromPtr__(long addr) |
void |
detect(Mat inputImage,
MatOfRect Bbox,
MatOfFloat confidence)
Method that provides a quick and simple interface to detect text inside an image
|
protected void |
finalize() |
long |
getNativeObjAddr() |
public long getNativeObjAddr()
public static TextDetector __fromPtr__(long addr)
public void detect(Mat inputImage, MatOfRect Bbox, MatOfFloat confidence)
inputImage - an image to processBbox - a vector of Rect that will store the detected word bounding boxconfidence - a vector of float that will be updated with the confidence the classifier has for the selected bounding boxCopyright © 2020. All rights reserved.