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.
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.