Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AI and Deep Learning by (50.2k points)

I have read a fair amount about Haar training and I'm not clear on how many images one should use for the positive and negative sample sets. I see it recommended to use many images, some people recommend thousands. I'm also unclear about whether the number of positive and negative sample images should be the same?

1 Answer

0 votes
by (107k points)

Here is the best tutorial on Haartraining: http://note.sonots.com/SciSoftware/haartraining.html

It says they used 5000 for positive and 3000 for negative.

This link says 3000 for positive and 5000 for negative. Anyway, a higher number of images improves the accuracy, but it also increases training time.

You can also refer to this https://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.htmllink for training your own OpenCV haar classifier:

If you are looking to learn more about Artificial Intelligence then you visit Artificial Intelligence Tutorial. Also, if you are appearing for job profiles of AI Engineer then you can prepare for the interviews on Artificial Intelligence Interview Questions.

31k questions

32.7k answers

501 comments

693 users

Browse Categories

...