Ask Your Question

About Cascade Classifier Training

asked 2013-10-31 22:02:38 -0600

johncordeiro gravatar image

updated 2013-11-01 03:17:38 -0600

berak gravatar image

I'm collecting a lot of positive images to train the cascade classifier and so I have some doubts:

1 - I'm trying to recognize object that has 2 different formats, so it's better create 2 cascade's xml to each different format or 1 cascade's xml with a lot of 2 images formats ?

2 - The color of positive samples can influence in the object detection ? Is it better that the positive samples are in greyscale ?

Thanks for your help !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-04 08:34:46 -0600

r.a. gravatar image

updated 2013-11-04 08:38:19 -0600


1.In case of 2 different views of the same object. If there is a big differnce in the object apearance it is recommnded to train two classifiers. Yet if there is no such a big difference in the object apearance you may train only one classifier. Anyway try and you'll find out what is the best for you.(Post some positive images and I'll try to recommend )

2.The positive images may be color or gray it doesn't matter ,since the algortihm uses only the gray values and ignores the color information. The reason for that is that color information change heavily under different lighting conditions.

Good luck,

edit flag offensive delete link more


It was very helpful for me, thanks!

johncordeiro gravatar imagejohncordeiro ( 2014-08-05 21:39:28 -0600 )edit

Question Tools


Asked: 2013-10-31 22:02:38 -0600

Seen: 306 times

Last updated: Nov 04 '13