Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problems with Haartraining

Sorry I have very basic english. Hi, I'm with a task, which is to detect car registrations by the haar cascade. My problem is that when I use haartraining, I get an error that the computer is not able to show, leaving a blank window that does not show me anything. I've done it several times but the times that does not work, the only change that I make is the sample size, 80x20 to 200x50 step. I do not know if that will be the reason. The command to use is: haartraining -data data/cascade20050 -vec data/matricula20050.vec -bg negative/infofile.txt -nonsym -nstages 10 -nsplit 2 -minhitrate 0.999 -maxfalsealarm 0.5 -npos 529 -nneg 1021 -w 200 -h 50 -mem 1024 -mode ALL

I have using 1024 Mb of 4 gigas of memory that I have, I´m not sure if this is one of muy problems. See if anyone has any solution or idea. Thank you very much in advance.