Ask Your Question

maxbozza's profile - activity

2013-11-25 13:17:45 -0600 asked a question opencv_traincascade hog cascade training issue

I'm trying to train an hogcascade classifier, like hogcascade_pedestrian.xml, but for head and shoulders, i have prepared .vec file with opencv_createsamples

opencv_createsamples -info positives.dat -vec vecfile.vec -num 3500 -bg negatives.dat -w 32 -h 32

All done, but when i launch opencv_traincascade with:

opencv_traincascade -data hognew -vec vecfile.vec -bg negatives.dat -mem 2048  -numStages 15 -featureType HOG -w 32 -h 32  -maxWeakCount 100

after 15 stages i have in hognew directory cascades.xml , well...but when i try it with detectmultiscale it doesn't work, program freeze, with hogcascade_pedestrian.xml it's all ok.

When i open cascade.xml and hogcascade_pedestrian.xml they are slightly different Anyone can give me an hand to understand how to train hogcascade?

2013-11-18 04:42:48 -0600 asked a question kalman filter python and opencv-dev 3.0

Hi to all, i'm trying to understand how to use kalman filter in opencv 3.0 with python, the sample code is for old version and i don't know how to initialize kalman filter with new wrapper, anyone has a sample code?