openCV planar object detection

Tonight I was playing around with some code that I found in this thread about natural marker AR made with SURF. It’s pretty neat stuff. This is building on some other stuff that I wrote just to do tempalte matching using a class I made: cvSURFImage. (cvSURFImage.h cvSURFImage.cpp)

Most of this stuff comes from the find_obj.cpp file that comes as an example with OpenCV.  But now I am digging into the locatePlanarObject() stuff that yaya from the openFrameworks forum wrote that uses cvFindHomography().  The idea is that the red square represents the plane that the identified object lies on.  But I can’t seem to stabilize the red square.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • Netvibes
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
This entry was posted in Howtus. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>