opencv에서 this 샘플 코드를 실행하려고했지만 실행 방법이 혼란 스럽습니다. 그것은 단지이 도움말 메시지를 보여줍니다 인수의 내 기본적인 이해에서opencv sample surf matcher를 실행하는 방법은 무엇입니까?
Usage: surf_matcher[options]
Available options:
Usage: surf_matcher_2.exe [params]
--cpu_mode, -m (value:false)
run without OpenCL
-h, --help (value:false)
print help message
-l, --1eft (value: box.png)
specify left image
-o, --output (value: SURF output . jpg)
specify output save path
-r, --right (value: box in scene.png)
specify right image
을 다음과 같이 I는 입력 인수의 많은 종류를 시도 :
-l box.png -r box_in_scene.png
--left box.png --right box_in_scene.png
--l box.png --r box_in_scene.png
를하지만 여전히 작동하지 않았다. 이 오류가 있지만 성공적으로 빌드했습니다 :
Severity Code Description Project File Line Suppression State
Error (active) the default constructor of "SURFMatcher<cv::BFMatcher>" cannot be referenced -- it is a deleted function surf_matcher_2 c:\Users\user\Documents\Visual Studio 2015\Projects\surf_matcher_2\surf_matcher_2\surf_matcher_2.cpp 195
오래 전부터 실행되었지만 이전 프로젝트를 복제해도 작동하지 않았습니다.
코드를 확인하고 Opencv – saurabheights