Ask Your Question

How to traincascade LBP?

asked 2015-05-26 12:38:21 -0500

AspireStone3 gravatar image

updated 2015-06-01 11:35:37 -0500

Hi everyone, I'm trying to train a cascade to recognize an object. I've all the pos images in pgm format (129 in total) and all the neg images also in pgm (500). I create with success the info file and then the bg and the vec files. When I start the opencv_traincascade it begin to create the first stage but it stuck on the NEG count as the image below shows.

image description

Even if I change the numPos the problem persists. Thank you for your answers.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-03 03:56:22 -0500

gunek gravatar image


Have you solved this issue? I'm facing same issue on Mac OS X Yosemite. Firstly I thought that it just needs more time to process, but I've experimented with lower number of samples and it still stuck for few hours.

I can't believe that for LBP it can take so long even for 1 sample positive and 2 neg sample with stages set to 2.

edit flag offensive delete link more

Question Tools



Asked: 2015-05-26 12:38:21 -0500

Seen: 354 times

Last updated: May 26 '15