ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

SIFT object recognition using Laptop camera + ROS

asked 2013-02-21 16:27:12 -0600

Bala gravatar image

updated 2014-04-20 14:09:24 -0600

ngrennan gravatar image

Hi, I need help to implement SIFT object recognition in ROS with the help of taking images from Laptop camera. Is there any code that is already there for ROS + SIFT object recognition?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-02-25 00:56:15 -0600

Sift can be implemented using opencv2 library. Convert your image from a ROS type image to a opencv type image using cv_bridge and then you can use the opencv libraries to implement SIFT. Remember to also include #include <opencv2/nonfree/features2d.hpp>. Sift features can be initialized using cv::Ptr<cv::FeatureDetector> detect = new cv::SiftFeatureDetector; and Sift descriptors : cv::Ptr<cv::DescriptorExtractor> detect = new cv::SurfDescriptorExtractor; You could replace the word Sift with Surf or Orb for the feature detector. And you could also replace the descriptor with Surf or Brief.

edit flag offensive delete link more

answered 2013-02-21 21:06:17 -0600

davinci gravatar image

You can use the search function at to find: if you search for sift..

edit flag offensive delete link more

answered 2013-02-23 04:03:02 -0600

Bala gravatar image

Thanks. I'll look into it.

edit flag offensive delete link more

Question Tools



Asked: 2013-02-21 16:27:12 -0600

Seen: 11,040 times

Last updated: Feb 25 '13