Raw File
Tip revision: d187b3690ac220d4564db113788ea529e38af79e authored by JiaWang Bian on 10 June 2020, 06:30:43 UTC
Tip revision: d187b36
% You should compile the code with opencv  

% opencv path
OpenCV = 'C:/SDK/OpenCV/'; %Input Your OpenCV Path
version = '310'; % Input Your OpenCV Version

IPath = ['-I' OpenCV 'include'];
LPath = ['-L' OpenCV 'x64/vc14/lib'];

lib1 = ['-lopencv_core' version '.lib'];
lib2 = ['-lopencv_features2d' version '.lib'];
lib3 = ['-lopencv_imgcodecs' version '.lib'];
lib4 = ['-lopencv_imgproc' version '.lib'];

mex -setup
mex ('MexGMS.cpp', '-I../include/', IPath, LPath, lib1, lib2, lib3, lib4); 

back to top