Package org.opencv.text
Class TextDetector
java.lang.Object
org.opencv.text.TextDetector
- Direct Known Subclasses:
TextDetectorCNN
An abstract class providing interface for text detection algorithms
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Field Details
-
nativeObj
protected final long nativeObj
-
-
Constructor Details
-
TextDetector
protected TextDetector(long addr)
-
-
Method Details
-
getNativeObjAddr
public long getNativeObjAddr() -
__fromPtr__
-
detect
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
-
finalize
-