Class OCRHMMDecoder_ClassifierCallback


  • public class OCRHMMDecoder_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 loadOCRHMMClassifierNM and KNN model provided in <https://github.com/opencv/opencv_contrib/blob/master/modules/text/samples/OCRHMM_knn_model_data.xml.gz>.
    • Field Detail

      • nativeObj

        protected final long nativeObj
    • Constructor Detail

      • OCRHMMDecoder_ClassifierCallback

        protected OCRHMMDecoder_ClassifierCallback​(long addr)
    • Method Detail

      • getNativeObjAddr

        public long getNativeObjAddr()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable