Package org.opencv.text
Class TextDetector
- java.lang.Object
-
- org.opencv.text.TextDetector
-
- Direct Known Subclasses:
TextDetectorCNN
public class TextDetector extends Object
An abstract class providing interface for text detection algorithms
-
-
Field Summary
Fields Modifier and Type Field Description protected long
nativeObj
-
Constructor Summary
Constructors Modifier Constructor Description protected
TextDetector(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 imageprotected void
finalize()
long
getNativeObjAddr()
-
-
-
Method Detail
-
getNativeObjAddr
public long getNativeObjAddr()
-
__fromPtr__
public static TextDetector __fromPtr__(long addr)
-
detect
public void detect(Mat inputImage, MatOfRect Bbox, MatOfFloat confidence)
Method that provides a quick and simple interface to detect text inside an image- Parameters:
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 box
-
-