g ++ derleyicisinden 'stereo_match' yazdım.OpenCV_Sample'ın stereo_match.cpp'sinin çalıştırılması
Benim ortamdır: VirtualBox Of
- Ubuntu 15.1
- OpenCV 3.1.0
Koşuyorum komutu bilmiyorum. Denedim:
./stereo_match --left left12.jpg --right right12.jpg --method BM --ndisp 32.
Ama hata verdi:
OpenCV Error: Bad argument (undeclared position 0 requested) in getByIndex, file /home/usera/opencv-3.1.0/modules/core/src/command_line_parser.cpp line 169
terminate called after throwing an instance of 'cv::Exception'
what(): /home/usera/opencv-3.1.0/modules/core/src/command_line_parser.cpp:169: error: (-5) undeclared position 0 requested in function getByIndexAborted (core dumped)
Bu, cv :: CommandLineParser 'dosyasında bir hata gibi görünüyor - giriş dosya adlarını kaynağımda kodladım (yuck) - bugüne kadar hatayı kovalamak için zamanım yok. – wcochran