Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenCV enum variables(like CV_BGR2GRAY or CV_AA) missing in the recent Java API?

I've setup a Java project in Eclipse to detect faces and eyes in images. Everything is working fine except that I'm forced to use numeric values to represent the enum variables like CV_BGR2GRAY or CV_AA. Is there some import(or there is a way to reference them) that can be done to access them?

like image 779
Rui d'Orey Avatar asked Oct 23 '13 15:10

Rui d'Orey


1 Answers

CV_BGR2GRAY should be defined as Imgproc.COLOR_BGR2GRAY, and CV_AA as Core.LINE_AA.

like image 195
andriy Avatar answered Oct 18 '22 01:10

andriy