Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Some questions about training LBP classifier.

Hi!

I'm working on creating LBP or HAAR classifier for detecting cars top view. I have created LBP classifier and when i checked it's work, it finds only vertically oriented cars and even not all of them: result1 result2

1) Could this be due to the fact that in all samples I used images with a clear cut vertically disposed cars? I mean i rotated them myself vertically and cuted using Adobe Photoshop. For example:

car1 car2 car3

And does this mean that i have to cut cars from images like this (with parts of ground): car1 car2 car3

OR it's just because i used too few pictures (150 positives -> opencv_createsamples -> 600 samples).

OR because of both reasons.

2) opencv_createsamples.exe applies to much distortions that i do not need, especially Z angle. With wich parameters should i run this programm to not to make Z distortion? (probably: -maxzangle 0 (?))

Pls give me some advises ;)

P.S. sorry for my bad English

Some questions about training LBP classifier.

Hi!

I'm working on creating LBP or HAAR classifier for detecting cars top view. I have created LBP classifier and when i checked it's work, it finds only vertically oriented cars and even not all of them: result1 result2

1) Could this be due to the fact that in all samples I used images with a clear cut vertically disposed cars? I mean i rotated them myself vertically and cuted using Adobe Photoshop. For example:

car1 car2 car3

And does this mean that i have to cut cars from images like this (with parts of ground): car1 car2 car3

OR it's just because i used too few pictures (150 positives -> opencv_createsamples -> 600 samples).samples)?

OR because of both reasons.reasons?

2) opencv_createsamples.exe applies to much distortions that i do not need, especially Z angle. With wich parameters should i run this programm to not to make Z distortion? (probably: -maxzangle 0 (?))

Pls give me some advises ;)

P.S. sorry for my bad English