Detecting objects by template
Show older comments
Hey, I'm working on an object detection. I have an image from multiple objects:

and want to find all screws, for example of this type:

Currently im trying to extract the screws edges using the canny algorithm. Then I want to use the generalized Hausdorff measure to search for it: http://www.cs.cornell.edu/vision/hausdorff/hausmatch.html
I'm not sure whether this is the right approach. Since I am a newbe maybe you can give me some hints for the best practices? Note that this should work for multiple objects and images. I tried using the image gradient and boundarys, too. But this failed because I could not get meaningful contours. It would be great to work with contour snippets, which would not make it neccessary to extract the whole object.
Thanks in advantage
Accepted Answer
More Answers (1)
Pete McEldowney
on 27 Jul 2017
0 votes
Those holes on the bolt masks look like reflectance - either fill using code, or alter the ilghting - make it more diffuse? Or from behind the scene. Harris corner features might work OK as extra identification aids.
Categories
Find more on Object Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

