Ask Your Question
6

Object recognition by edge (or corners) matching ?

asked 2012-07-27 15:45:03 -0600

yes123 gravatar image

updated 2020-11-30 03:01:18 -0600

Hello,

I would like to develop, for academic purpouse, an object recognition system that uses (among other things) edges or corners matching.

Basically I extract corner information on my model image then i try to find this object inside a query image using corner information.

Do you have any hint?

edit retag flag offensive close merge delete

Comments

Hi,

can you be more specific and tell us why do you want to use edges/corners instead of the most common approach which is to use interest points (e.g. SIFT)?

gfuhr gravatar imagegfuhr ( 2012-07-27 16:13:33 -0600 )edit

Because, unfortunately my prof., obbligated me to do so. I have already implemented a system using ORB and it works fine, now i need to do this using corner or edge. A reason could be that SIFT/SURF doens't take in account the shape of the object

yes123 gravatar imageyes123 ( 2012-07-27 16:16:44 -0600 )edit

The question is good. Sometimes you don't have features, i.e. objects without texture, or transparent objects. There are some approaches that analyze contours, but I'm not specialist, let's wait for gurus :) In the meantime you can start from this paper: http://www.roboticsproceedings.org/rss08/p35.html, it is about one particular problem, but may be it'll inspire you!

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-07-28 04:03:58 -0600 )edit

thanks for the paper. Anyway let's hope for some Guru response :D

yes123 gravatar imageyes123 ( 2012-07-28 05:19:45 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
7

answered 2012-07-29 08:48:15 -0600

You may be interested in a corner descriptor called PAS (Pair of Adjacent Segments). It can be computed using Canny edges and it is invariant to translation and scale changes. See the paper for details and how to use it for object detection:

For edge-based object recognition and 6-DOF pose estimation see the papers:

  • M. Ulrich, C. Wiedemann, and C. Steger. CAD-based recognition of 3d objects in monocular images. International Conference on Robotics and Automation (ICRA), 2009.
  • M.Y. Liu, O. Tuzel, A. Veeraraghavan, R. Chellappa, A. Agrawal, and H. Okuda. Pose estimation in heavy clutter using a multi-flash camera. IEEE International Conference on Robotics and Automation (ICRA), 2010.

If you don't need 6-DOF pose and you need just recognize and localize an object in an image then take a look at the Line-2D algorithm:

Its implementation is available in OpenCV in the objdetect module. It uses orientations of gradients on a boundary of an object to create Line-2D templates so it is essentially recognition by silhouettes.

edit flag offensive delete link more

Comments

Wow, Line-2D algorithm sounds intersting for my porpouse! are there any docs about it ? is it the matchShapes() function maybe?

yes123 gravatar imageyes123 ( 2012-07-30 16:22:58 -0600 )edit
1

No, it doesn't has online documentation yet but it has inline doxygen docs and a c++ sample. The interface is located in objdetect.hpp in cv::linemod:: namespace.

Ilya Lysenkov gravatar imageIlya Lysenkov ( 2012-07-31 04:52:32 -0600 )edit

Ilya, did I got it right, that you would suggest Line-2D for doing things like the Shot Note iOS app does (http://dl.dropbox.com/u/2331404/shootnote.jpg). Basically it uses shapes on the corners to recognize the position of the paper. I want to do just the same thing, but kinda stuck with the methods to use. Tried to use SURF, but it doesn't take into consideration the shape of the corner objects and doesn't seem to work great at my sample images.

Ivan Parfenchuk gravatar imageIvan Parfenchuk ( 2012-09-07 03:51:21 -0600 )edit

Yes, Line2D should work but you need to train it on rectangles of different proportions. Also you need to choose the largest detected quadrangle as the final answer or at least to normalize detection score by size of a quadrangle to exclude detections inside of the note.

Ilya Lysenkov gravatar imageIlya Lysenkov ( 2012-09-08 00:08:59 -0600 )edit
2

answered 2013-05-16 20:20:19 -0600

RaulPL gravatar image

Hi, I just find this video Real-time Learning and Detection of 3D Texture-less Objects and also the paper, it is quite recent.

edit flag offensive delete link more

Question Tools

4 followers

Stats

Asked: 2012-07-27 15:45:03 -0600

Seen: 8,178 times

Last updated: May 16 '13