Saturday, September 29th, 2012, 238 days ago

First trial of classifier training – the good and bad

hand gestures

Forewords

The first try of HAAR training was based on the tutorial mentioned in the previous post (see Collection of own hand gesture samples – the call for pictures, training method, tool and results). The aim was to go through all steps of HAAR training and see:

1) How positive and negative samples should be captured and setup for training?
2) How large should the scale of sample be? This is, what exactly are these differences between 1000 samples’ training and 9000 samples’ training in terms of accuracy and effectiveness.

The trial training

Full details of the trial training can be found in the previous post A failed example of hand gesture recognition using openCV haartraining classifiers.

As mentioned in the old post, the size of samples were crucial to the training. There is a size for best training results, which is around 20X20. Bigger sizes of course are helpful to improve the detection accuracy but the memory of training machine can easily running out.

Lessens learnt – good and bad

As described in the failed example of HAAR training, the sample pictures should not contain too much background information. For example, if detecting a open palm the backgrounds between fingers were also captured and trained as a part of palm, which led to very low detection accuracy. Rather, the sample pictures should be captured in a manner of such for face detection – with more important features but less backgrounds.

Although the failed example had nearly 10,000 samples its results were still poor. This does not require the increase of training samples. In another run of the failed example of training, after training closed palm gestures, 800 positive samples gave a result with approximately 70% accuracy, and the robustness seemed to be possibly improved through using more samples in different scenarios.


QR code for this post, SCAN ME
QR:  First trial of classifier training – the good and bad

2 Responses to “First trial of classifier training – the good and bad”

  1. It was a awe-inspiring post and it has a significant meaning and thanks for sharing the information.Would love to read your next post too……

  2. I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.

Leave a Reply

You can use these XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>