I am developing an android text recognition app in java with Opencv 4.0.1 and tests-two(tesseract). I am doing with downloaded source code. they have used OpenCV version 3.2.0 But the Issue is when I was trying to import FeatureDetector for MSER unable to import that but they did it on version 3.2.0
My Android Studio version is 4.0.1
Is there any alternative way?? How can I replace
Here is the code
FeatureDetector detector = FeatureDetector.create(FeatureDetector.MSER);
detector.detect(mGray, keyPoint);
this is the import I could not call
import org.opencv.features2d.FeatureDetector;