when I run this commad "sh startup.sh",the following errors were encountered.
main.cpp: In function ‘int findCentroidFromImage(cv::Mat, int*, int*, int*)’: main.cpp:92:25: error: no matching function for call to ‘cv::Mat::Mat(cv::gpu::GpuMat&)’ cv::Mat cpu_src(gpu_src);
How can I solve this problem?
when I run this commad "sh startup.sh",the following errors were encountered.
main.cpp: In function ‘int findCentroidFromImage(cv::Mat, int*, int*, int*)’: main.cpp:92:25: error: no matching function for call to ‘cv::Mat::Mat(cv::gpu::GpuMat&)’ cv::Mat cpu_src(gpu_src);How can I solve this problem?