Ask Your Question

KDS's profile - activity

2014-01-08 09:32:01 -0500 received badge  Taxonomist
2012-08-07 10:39:35 -0500 commented answer How to train cascade classifier

Thank you, very much. I greatly appreciate your help. I just realized that I had not thanked you for your answer - sorry for the delay. Regards, KDS

2012-08-07 10:38:18 -0500 received badge  Supporter (source)
2012-07-17 17:05:55 -0500 received badge  Famous Question (source)
2012-07-07 09:43:54 -0500 received badge  Notable Question (source)
2012-07-04 14:43:03 -0500 received badge  Popular Question (source)
2012-07-04 05:12:15 -0500 received badge  Nice Question (source)
2012-07-04 04:21:34 -0500 received badge  Student (source)
2012-07-03 13:13:18 -0500 asked a question How to train cascade classifier


I am having trouble implementing the HaarDetectObjects function (using OpenCV / Python). The script attempts to identify electronic components (resistors, capacitors, etc.) on a PCB. I have created a large bank of positive and negative images to use for the Haar Training, but am unsure how to go about taking the list of images and generating the cascade XML file. Following some information found online, I have created two text files listing the positive and negative images. My understanding is that these files will then be used by the program located at opencv\samples\c\convert_cascade, which will need to be compiled. However, I have been unable to compile the necessary files to be able to run convert_cascade.

If anyone has generated a custom cascade and knows what I might be doing wrong, please let me know. I greatly appreciate your help and thank you in advance for your time. If any more information would be helpful, please let me know.

In summary, I am at a loss for how to generate a cascade XML file.