Ask Your Question
0

Detect small smd part

asked 2017-08-21 07:39:09 -0600

I'm trying to develop some vision application to detect presence of small smd component. I already try some approaches, and would like to have opinions from all of you, what is the best one. 1. Template Matching, seems to have lot of fake recognitions, and since the scale and orientation may change it will fail. Right ? 2. HOG 3. Haar cascade seems to me the better, but with lot effort to train the cascade. What should I use inn your opinion?

image description

edit retag flag offensive close merge delete

Comments

hog descriptors or haar cascades will fail with scale & pose variation, too.

berak gravatar imageberak ( 2017-08-21 07:52:38 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-08-21 08:54:10 -0600

@berak ah comon that is not true :) the cascades have a multiscale detector. In many cases one has a fixed camera, so the number of scales should be reduced with minSize and maxSize parameters. Then apply a rotation approach to your input image, do detection again and warp the results back. I have suggested this approach for OpenCV 3 Blueprints, right here.

edit flag offensive delete link more

Comments

1

^^ yea, right. (i'm obviously having a dumb day..)

berak gravatar imageberak ( 2017-08-21 09:04:03 -0600 )edit
1

Hello Thanks @StevenPuttemans and @berak, for the reply. From what i understand @StevenPuttemans i need to train a haar cascade for the part i want to find, and then just apply on your code. For training could you advice me.

HIT_Braga gravatar imageHIT_Braga ( 2017-08-22 05:57:12 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-08-21 07:39:09 -0600

Seen: 361 times

Last updated: Aug 21 '17