Image quality assessment

asked 2020-03-26 02:57:22 -0600

snehal gravatar image

updated 2020-03-26 03:41:43 -0600

berak gravatar image

Hello, For Image quality assessment i am using https://github.com/FlyingRhenquest/No...

i write following code in main and execute in visual studio 2017 :

Mat image = imread("E:\\Images\\Slide_02\\200131_141613\\Tile_0_0_0_0_2.bmp");

svm_model *my_model = jd_brisque::load_model("E:/Brisque_cpp/C++/allmodel");

float result = jd_brisque::computescore(image, my_model);

Got following error :

computescore.obj : error LNK2019: unresolved external symbol svm_load_model referenced in function "struct svm_model * __cdecl jd_brisque::load_model(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?load_model@jd_brisque@@YAPEAUsvm_model@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

computescore.obj : error LNK2019: unresolved external symbol svm_get_nr_class referenced in function "float __cdecl jd_brisque::computescore(class cv::Mat &,struct svm_model *)" (?computescore@jd_brisque@@YAMAEAVMat@cv@@PEAUsvm_model@@@Z)

computescore.obj : error LNK2019: unresolved external symbol svm_predict_probability referenced in function "float __cdecl jd_brisque::computescore(class cv::Mat &,struct svm_model *)" (?computescore@jd_brisque@@YAMAEAVMat@cv@@PEAUsvm_model@@@Z)

These function are not linking with required library. But i already give the path of 'libsvm' in visual studio

(project Property -> Linker->General->Additional Library Directories)
edit retag flag offensive close merge delete

Comments

1

we probably cannot help you with 3rd party repos ... ;(

berak gravatar imageberak ( 2020-03-26 03:45:47 -0600 )edit