Ask Your Question

daveg2's profile - activity

2017-11-03 10:46:12 -0600 commented question How to set a flexible threshold value?

What do you mean by 'this doesn't work all the time'? Does a set threshold work for contours in one image, but not ano

2017-09-28 19:32:40 -0600 received badge  Student (source)
2017-09-26 11:39:01 -0600 answered a question Remove small objects from binary image

As @Tetragramm mentioned, morphology will be faster than connected components. If you use a morphological open (i.e. ero

2017-09-26 11:18:45 -0600 commented question How to get greatest and shortest diameter of an object

As above, please explain in more detail what you are trying to achieve, what you have already tried, and where you are g

2017-09-20 10:27:47 -0600 received badge  Enthusiast
2017-09-18 19:17:10 -0600 answered a question Traincascade - Required leaf false alarm rate achieved. Branch training terminated.

My understanding is that this means the classifier has reached the desired accuracy on the training dataset given the in

2017-09-15 14:56:47 -0600 answered a question How to measure road widths from surveyed photographs

Always try to break down your problem into more simple parts. Whilst there may not be many examples of people trying to

2017-04-04 20:20:30 -0600 asked a question Why does Haar cascade classifier performance change when I crop an image?

I have an image which contains several (10-20) objects. The objects are typically small (50x10px) compared to the overall image (2500x2000px).

I can run detectMultiScale and get good results on the entire image. However, I know that the objects are contained in a certain area, so I decided to select a sub image and run detectMultiScale in order to reduce processing time.

I was surprised to find that detectMultiScale returned slightly different results when performed on the sub image. In some cases, it missed some of the objects that it could find on the full image.

I'm using a scale factor = 1.05, minNumNeighbours = 3, HaarDetectionType = FindBiggestObject, and identical min/max sizes each time.

Can anyone help me understand why I would be getting different results? Are there any tricks I can apply to make this more consistent?

Thanks!

Dave