ビルド手順例
cd /usr/local/share/OpenCV/samples/c/ g++ -o /tmp/find_obj_calonder find_obj_calonder.cpp -I/usr/local/include/opencv2 -I/usr/local/include/opencv -L/usr/local/lib -lopencv_nonfree -lopencv_calonder -lopencv_legacy -lopencv_calib3d -lopencv_flann -lopencv_objdetect -lopencv_highgui -lopencv_imgproc -lopencv_core
実行手順例
cd /tmp wget http://133.5.18.161/rinkou/od/2013-05-23-sozai/DSC00227.JPG wget http://133.5.18.161/rinkou/od/2013-05-23-sozai/DSC00228.JPG # 11520 x 1080 -> 2880 x 270 convert -resize 2880x DSC00227.JPG /tmp/DSC00227s.JPG convert -resize 2880x DSC00228.JPG /tmp/DSC00228s.JPG /tmp/find_obj_calonder /tmp/DSC00227s.JPG /tmp/DSC00228s.JPG