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() |
getNativeObjAddr
public static TextDetectorCNN __fromPtr__(long addr)
public static TextDetectorCNN create(String modelArchFilename, String modelWeightsFilename)
public void detect(Mat inputImage, MatOfRect Bbox, MatOfFloat confidence)
TextDetector
detect
in class TextDetector
inputImage
- 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 TextDetector
Throwable
Generated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2