Qt +Opencv encountered an error when using: error: 'CV_BGR2GRAY' was not declared in this scope
The solution found on the Internet for cvtColor is:
#include <opencv2\imgproc\types_c.h>
Qt +Opencv encountered an error when using: error: 'CV_BGR2GRAY' was not declared in this scope
The solution found on the Internet for cvtColor is:
#include <opencv2\imgproc\types_c.h>