Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

.CV_LOAD_IMAGE_GRAYSCALE cannot be resolved or is not a field

Blockquote

 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); }