Hello, I am using 'https://github.com/opencv/opencv_contrib/tree/master/modules/quality' for image quality assessment . When i write following code in main() function and execute I got an error.
Mat img = cv::imread("E:\Images\Slide_02\200131_141613\Tile_0_0_0_0_2.bmp");
String model_path = "E:\VS_Projects\ImageQuality_opencvContrib\ImageQuality_opencvContrib\brisque_model_live.yml";
cv::String range_path = "E:\VS_Projects\ImageQuality_opencvContrib\ImageQuality_opencvContrib\brisque_range_live.yml";
/* compute BRISQUE quality score via static method */
cv::Scalar result_static = quality::QualityBRISQUE::compute(img,model_path, range_path);
Error : e:\opencv_contrib-master\modules\quality\include\opencv2\quality\qualitybrisque.hpp(67): error C2665: 'cv::Ptr<cv::ml::svm>::Ptr': none of the 3 overloads could convert all the argument types
please suggest me where i am going wrong.