Ask Your Question
-2

POSTIVE SAMPLE 200 & NEG 500

asked 2013-02-27 05:57:43 -0600

neerat.sharma gravatar image

IS IT WORK WITH WITH THIS FEW SAMPLES. JUST FOR PRACTICE HOW TO DO HAAR TRAINING.

edit retag flag offensive close merge delete

Comments

1

Don't use capital letters.

SR gravatar imageSR ( 2013-02-27 06:24:15 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-02-27 07:48:14 -0600

updated 2013-02-27 07:49:09 -0600

As an addition to the answer of mathieu the following comments could be taken into consideration.

The quality of your classifier with 200 positives and 500 negatives depends largely on lots of parameters.

  • Do the images cover enough lighting conditions?
  • Do the images cover different scale sizes of the objects to be detected?
  • How much variation is there in the negative data set?
  • Did you maintain enough intra-class variance in the training data?

These are all factors defining the final result of your classifier. If dataset is chosen wisely, a training with those numbers could lead to a pretty good classifier/detector of around 75-80% detection rate. However, if you want to improve that, you need to up the amount of training samples drastically.

Usually 200 positives lead to 75% detection rate, but in order to obtain lets say 78% another 1000 positives are needed (yes for only 3% increase) and enough variation should need to be included.

I suggest you read a bit of tutorials online, this will help for sure.

edit flag offensive delete link more
2

answered 2013-02-27 06:20:02 -0600

All you need to known about Haar training with OpenCV is here

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-02-27 05:57:43 -0600

Seen: 335 times

Last updated: Feb 27 '13