Hi,
I am using OpenCV and Android Ndk. I recently upgraded from OpenCV 3.5.0 to OpenCV 4.5.0 and I have some errors:
I have this line here:
kmeans(samples, nbClusters, clusters, TermCriteria(CV_TERMCRIT_ITER|CV_TERMCRIT_EPS, 10000, 0.0001), nbAttempts, KMEANS_PP_CENTERS, centers );
that throws this errors:
error: use of undeclared identifier 'CV_TERMCRIT_ITER'
error: use of undeclared identifier 'CV_TERMCRIT_EPS'
Can somebody help to find a solution ? thank you