Package org.opencv.text
Class TextDetector
- java.lang.Object
- 
- org.opencv.text.TextDetector
 
- 
- Direct Known Subclasses:
- TextDetectorCNN
 
 public class TextDetector extends java.lang.ObjectAn abstract class providing interface for text detection algorithms
- 
- 
Field SummaryFields Modifier and Type Field Description protected longnativeObj
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedTextDetector(long addr)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextDetector__fromPtr__(long addr)voiddetect(Mat inputImage, MatOfRect Bbox, MatOfFloat confidence)Method that provides a quick and simple interface to detect text inside an imageprotected voidfinalize()longgetNativeObjAddr()
 
- 
- 
- 
Method Detail- 
getNativeObjAddrpublic long getNativeObjAddr() 
 - 
__fromPtr__public static TextDetector __fromPtr__(long addr) 
 - 
detectpublic 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 process
- Bbox- a vector of Rect that will store the detected word bounding box
- confidence- a vector of float that will be updated with the confidence the classifier has for the selected bounding box
 
 - 
finalizeprotected void finalize() throws java.lang.Throwable- Overrides:
- finalizein class- java.lang.Object
- Throws:
- java.lang.Throwable
 
 
- 
 
-