Ask Your Question

saimanoj18's profile - activity

2018-02-26 06:37:25 -0600 received badge  Notable Question (source)
2016-11-11 04:24:09 -0600 received badge  Student (source)
2016-07-25 21:54:49 -0600 received badge  Popular Question (source)
2014-01-13 03:58:13 -0600 received badge  Editor (source)
2014-01-13 03:57:52 -0600 answered a question How can I reference a standalone OpenCV installation inspite of having other version of Opencv version in ROS

Finally its solved.

From the link http://answers.ros.org/question/61923/how-to-use-newer-versions-of-opencv-in-fuerte/

I cheated and went to /opt/ros/fuerte/include and changed the name of opencv2 to opencv2bak. This way it finds the right includes. I don't think it's the right way to do it, though.

Also, went to /opt/ros/fuerte/share/OpenCV/OpenCVConfig.cmake and edited the Install path variable to /usr/local (where I installed)

2014-01-13 03:45:20 -0600 commented answer How can I reference a standalone OpenCV installation inspite of having other version of Opencv version in ROS

Finally its solved.. From the link http://answers.ros.org/question/61923/how-to-use-newer-versions-of-opencv-in-fuerte/

I cheated and went to /opt/ros/fuerte/include and changed the name of opencv2 to opencv2bak. This way it finds the right includes. I don't think it's the right way to do it, though.

Also, went to /opt/ros/fuerte/share/OpenCV/OpenCVConfig.cmake and edited the Install path variable to /usr/local (where I installed)

2014-01-12 22:45:15 -0600 commented answer How can I reference a standalone OpenCV installation inspite of having other version of Opencv version in ROS

still the same error!

2014-01-12 08:29:13 -0600 commented answer How can I reference a standalone OpenCV installation inspite of having other version of Opencv version in ROS

This did not solve the issue, I am still getting the same error. I am trying to compile the program first.

2014-01-09 20:52:43 -0600 asked a question How can I reference a standalone OpenCV installation inspite of having other version of Opencv version in ROS

I have ROS in the system and it comes with opencv2.4.2. I have also installed opencv from sourceforge.net which is opencv2.4.8 following samontab blog.

Now I have a source code which when run automatically selects the opencv2.4.2. I want the program to run using opencv2.4.8.

I tried adding this to CMakeLists.txt

include_directories("/home/sai/workspace/opencv-2.4.8/include/opencv") 
   link_directories("/home/sai/workspace/opencv-2.4.8/lib") 
   set(OpenCV_LIBS 
"opencv_gpu;opencv_contrib;opencv_legacy;opencv_objdetect;opencv_calib3d;opencv_features2d;opencv_video;opencv_highgui;opencv_ml;opencv_imgproc;opencv_flann;opencv_core") 

find_package(OpenCV 2.4.8 REQUIRED) 

target_link_libraries(exec {OpeCV_LIBS})

But still it uses Opencv that comes with ROS and also gives an error like this

             from /home/sai/workspace/loop_detector_on_depth_images/depth_loops/generic/src/dbow/FBit.h:5,
             from /home/sai/workspace/loop_detector_on_depth_images/depth_loops/generic/src/dbow/FBit.cpp:1:

/opt/ros/fuerte/include/opencv2/flann/lsh_table.h: In member function ‘void cvflann::lsh::LshTable<elementtype>::add(cvflann::Matrix<t>)’: /opt/ros/fuerte/include/opencv2/flann/lsh_table.h:196:14: error: ‘use_speed_’ was not declared in this scope

and

pkg-config --cflags opencv says

-I/opt/ros/fuerte/include/opencv -I/opt/ros/fuerte/include

2013-05-20 06:16:47 -0600 asked a question Keypoint extraction methods on depth images

Hi guys,

Does OpenCV has any routines which would find keypoints on the depth images obtained from Kinect?