Package org.opencv.text
Class OCRBeamSearchDecoder_ClassifierCallback
- java.lang.Object
-
- org.opencv.text.OCRBeamSearchDecoder_ClassifierCallback
-
public class OCRBeamSearchDecoder_ClassifierCallback extends java.lang.Object
Callback with the character classifier is made a class. This way it hides the feature extractor and the classifier itself, so developers can write their own OCR code. The default character classifier and feature extractor can be loaded using the utility function loadOCRBeamSearchClassifierCNN with all its parameters provided in <https://github.com/opencv/opencv_contrib/blob/master/modules/text/samples/OCRBeamSearch_CNN_model_data.xml.gz>.
-
-
Field Summary
Fields Modifier and Type Field Description protected long
nativeObj
-
Constructor Summary
Constructors Modifier Constructor Description protected
OCRBeamSearchDecoder_ClassifierCallback(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OCRBeamSearchDecoder_ClassifierCallback
__fromPtr__(long addr)
protected void
finalize()
long
getNativeObjAddr()
-
-
-
Method Detail
-
getNativeObjAddr
public long getNativeObjAddr()
-
__fromPtr__
public static OCRBeamSearchDecoder_ClassifierCallback __fromPtr__(long addr)
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
-