My haarcascade training can't detect anything. Is self training xml file possilble to use?

asked 2017-11-10 00:36:40 -0600

BlueSky91 gravatar image

updated 2017-11-10 01:37:42 -0600

I followed this guy and create my own haarcascade xml file. My data set is about dogs face with 500 possitive img, 200 negative bg, 30 stages, but i cant use it to detect anything, tried about 50 different img and no result.

My haar trained file didnt have some attribute like internalNodes or leafValues, is there anything wrong? Or because of my dataset so small? I found its format is different with haarcascade_frontalface_alt.xml file.

edit retag flag offensive close merge delete

Comments

1

i removed your screenshot.

please edit your question, and add a text version of your xml, if nessecary, but not an image ! thank you.

then, "following" a blogpost from 2011 might be a bad idea. please read opencv's docs instead

berak gravatar imageberak ( 2017-11-10 01:22:31 -0600 )edit

Thanks, i will try another solution

BlueSky91 gravatar imageBlueSky91 ( 2017-11-10 01:38:15 -0600 )edit

i know the solution

DrVivek gravatar imageDrVivek ( 2017-11-16 18:51:59 -0600 )edit

@DrVivek, please do not post answers, if you have a question or comment here, thank you.

berak gravatar imageberak ( 2017-11-16 19:21:55 -0600 )edit