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?
CV_BGR2GRAY
should be defined as Imgproc.COLOR_BGR2GRAY
, and CV_AA
as Core.LINE_AA
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With