I need to perform scene text recognition with OpenCV as explained in its official documentation. However, because of some inevitable technical constraints I need to do it using the Java wrapper of the library.
I have had a look at two official examples included with OpenCV: an end to end recognition demo and one that uses the webcam. The core functionality of these examples is based on the use of an ERFilter
, which performs the actual classification given an image.
I have managed to compile OpenCV's source code (version 3.1.0) with the support of the text module
available at the repository of extra modules. However, I have not been able to locate an ERFilter
Java class (or any equivalent functionality) within the Java wrapper that results after my compilation process. In fact, I have not been able to find any importable option similar to org.opencv.text
, which is my guess on where such a class might be.
Does anyone have any idea on how to do this with the Java API provided by the compiled library?
Any approach on how to translate the official C++ code into its corresponding Java version?
Your suggestions would be very much appreciated.