public class TextDetectorCNN extends TextDetector
opencv_contrib/modules/text/samples/textbox.prototxt.nativeObj| Modifier | Constructor and Description |
|---|---|
protected |
TextDetectorCNN(long addr) |
| Modifier and Type | Method and Description |
|---|---|
static TextDetectorCNN |
__fromPtr__(long addr) |
static TextDetectorCNN |
create(String modelArchFilename,
String modelWeightsFilename) |
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() |
getNativeObjAddrpublic static TextDetectorCNN __fromPtr__(long addr)
public static TextDetectorCNN create(String modelArchFilename, String modelWeightsFilename)
public void detect(Mat inputImage, MatOfRect Bbox, MatOfFloat confidence)
TextDetectordetect in class TextDetectorinputImage - an image expected to be a CV_U8C3 of any sizeBbox - 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 boxprotected void finalize()
throws Throwable
finalize in class TextDetectorThrowableCopyright © 2020. All rights reserved.