Ask Your Question

.CV_LOAD_IMAGE_GRAYSCALE cannot be resolved or is not a field

asked 2017-02-19 01:06:33 -0500

Rifat gravatar image


 i downloaded the project of gender detection from opencv but i m facing
 problem in function highgui.CV_LOAD_IMAGE_GRAYSCALE .i already changed the highgui to imgproc but now it      shows CV_LOAD_IMAGE_GRAYSCALE cannot be resolved or is not a field .here is the code snippet from gender detection opencv program:
for(int i=0; i<types; i++)

{ standardImages[i] = new Mat(size, Imgproc.CV_LOAD_IMAGE_GRAYSCALE); }

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-19 01:10:05 -0500

berak gravatar image

updated 2017-02-19 01:11:06 -0500


(and bookmark the docs page !)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-02-19 01:06:33 -0500

Seen: 622 times

Last updated: Feb 19 '17