ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
I have found 'opencv_haartraining' file into 'opt/ros/hydro/bin/' folder on my computer. I am also using ROS Hydro on Ubuntu 12.04.
However, please note, there is new version of haar training program. It is 'opencv_traincascade'. This program also is located into 'opt/ros/hydro/bin/' folder.
You can use this program like the following sample:
opencv_traincascade -data haarcascade_file -vec pos_samples.vec -bg negatives.dat -numStages 20 -precalcValBufSize 2000 -precalcIdxBufSize 2000 -featureType LBP -minHitRate 0.999 -maxFalseAlarmRate 0.05 -numPos 3000 -numNeg 3019 -w 24 -h 24 -mode ALL