2020-10-07 16:26:16 -0600 | received badge | ● Popular Question (source) |
2016-01-08 14:21:38 -0600 | received badge | ● Student (source) |
2015-07-01 10:48:15 -0600 | commented question | Cascade Classifier HAAR / LBP Advice Yes, please any help is appreciated |
2015-07-01 10:00:04 -0600 | commented question | Cascade Classifier HAAR / LBP Advice Aimed at accuracy is 90 to 95%, but the more accurate the better obviously. Actually I have had good results with a classifier, but I am now trying to better optimise the training. I have reduced the size of the positive and negative images from 100 x 100 to 50 x 80, now I cannot get as good a result with Haar features. |
2015-07-01 08:59:29 -0600 | commented question | Cascade Classifier HAAR / LBP Advice Thanks, the thresholding approach was the first method I tried, but the results were not accurate enough. |
2015-07-01 07:57:27 -0600 | received badge | ● Editor (source) |
2015-07-01 06:14:28 -0600 | asked a question | Cascade Classifier HAAR / LBP Advice Hi, I am using OpenCV and python to train HAAR and LBP classifiers to detect white blood cells in video frames. Since the problem is essentially 2D it should be easier than developing other object classifiers and there is great consistency between video frames. So far I have been using this tutorial: http://coding-robin.de/2013/07/22/tra... This is an example frame from the video, where I am trying to detect the smaller bright objects: Positive Images: -> nubmer=60 -> filetype=JPG -> width = 50 -> height = 80 ->->-> etc Negative Images: -> number= 600 -> filetype=JPG -> width = 50 -> height = 80 ->->-> -> etc N.B. negative image were extracted as random boxes throughout all frames in the video, I then simply deleted any that I considered contained a cell i.e. a positive image. Having set-up the images for the problem I proceed to run the classifier following the instructions on coding robin: This throws an error:
But if I try with different parameters the file 'cascade.xml' is generated, using both HAAR and LBP, changing the minHitRate and maxFalseAlarmRate. To test the classifier on my image I have a python script This is not finding the objects I want, when I have run it with different parameters sometimes it has found 67 objects other times 0, but not the ones that I am trying to detect. Can anyone help me adjust the code to find the objects correctly. Many thanks |