Questions tagged [opencv]

OpenCV (Open Source Computer Vision) is a cross-platform library of programming functions for real time computer vision.

Filter by
Sorted by
Tagged with
0 votes
1 answer
3 views

Opencv in ROS: fatal error: opencv3/opencv.hpp: No such file or directory compilation terminated

EDITED: Hello, I just started using opencv with ROS and I am trying to to write a program using the default opencv3, which comes with ROS Kinetic. I have the following inclusions in my .cpp file: <...
user avatar
0 votes
1 answer
271 views

Save Depth Map Video

I have recently purchased an Orbbec Astra camera, which uses the same technology and produces the same style depth map as a Microsoft Kinect. What would be the correct file format to save the depth ...
James Mallett's user avatar
0 votes
1 answer
16 views

Having trouble using CUDA enabled OpenCV with kinetic

Hello everyone. I started a new install of ROS Kinetic, and I was hoping to use a few CUDA features from OpenCV. I have successfully compiled and tested CUDA and OpenCV (which is installed in /usr/...
user avatar
0 votes
1 answer
4 views

Add OpenCV window as panel to RViz

The kinect_tracking node finds a specific point inside the picture and paints it into each frame. I do create the Window with openCV like: ...
user avatar
0 votes
1 answer
6 views

Destination encoding for ros image to opencv image conversion

I am trying to create an OpenCV image from a ros image using this . I am subscribing to a topic /camera/depth/img_rect_color which is of the type ...
user avatar
0 votes
1 answer
1 view

Opencv no rule to make target

I am trying out the example to convert ros image to opencv image from here. I am creating a new package roscv_conv and using a zed camera with ros indigo, on a <...
user avatar
0 votes
1 answer
1 view

py-faster-rcnn network detection runs on CPU through ROS callback function

Hi there, I'm trying to test my trained py-faster-rcnn network for object detection through ROS. I have a node running with many similarities to demo.py. Included in the class are commands to execute ...
user avatar
0 votes
1 answer
1 view

Ros-opencv after few computations cannot see the image

Hi , So i'm trying to detect lines with turtlebot via kinect rgb camera. Everything was working until i added cv2.HoughLinesP() i think it still works but image window comes up as menubar only :) ...
user avatar
0 votes
1 answer
2k views

CompressedImage to an Image in a node

Update Hey I have the following subscriber on Nvidia TX1 board running on an agricultural robot. we have the following issue with subscribing to Sensor_msgs::Compressed: ...
JTIM's user avatar
  • 101
2 votes
1 answer
1k views

Stereo Vision Using Compute Module: Pi camera synchronization

Good day, I am currently working on an obstacle avoiding UAV using stereo vision to obtain depth maps. I noticed that the quadcopter would sometimes not steer to the correct direction. I am using ...
user123456098's user avatar
0 votes
1 answer
1 view

Image encoding problem

Hello I have a cv::Mat of depth CV_8UC1 (that I know for sure it is this since it what the camera streams). In the camera driver I can do cv::imshow and display this CV_8UC1 image and I see it right: ...
user avatar
0 votes
1 answer
1 view

source install + opencv source install

I'm installing ROS Indigo from source on Fedora 23 and I also have a source install of openCV 2.4.12. After I compiled everything when I try to run rosrun rviz rviz ...
user avatar
0 votes
1 answer
1 view

Which ROS version to use with opencv

Hi. I would like to use the feature detection library from opencv to detect an object and then navigate the mobile robot to the center of the object . I dont know only which version of ROS should ...
user avatar
0 votes
1 answer
3 views

I need help with an error when run an OpenCV program

I am sorry if my subject is not clear but I am not sure how to describe this problem. Below is the error I receive when I try to run my node: ...
user avatar
0 votes
1 answer
1 view

Opencv installation, usage with and without ROS

Hello, I have OpenCV 2.4.8 which was installed along with ROS Indigo on an Ubuntu 14.04. My project requires use of OpenCV 2.4.9. I have limited understanding of how this installation works. I have ...
user avatar
0 votes
1 answer
2 views

Can't visualize image in opencv. what is problem?

I tried to run ros opencv tutorial program: converting converting between ros image and opencv image using cv_bridge. but after i ran the command: rosrun opencv example input:=/camera/image_raw than ...
user avatar
0 votes
1 answer
9 views

Could not find a package configuration file provided by "opencv2"

I was following the Converting between ROS images and OpenCV images (Python) tutorial and i came across the following problem while running catkin_make. I am new to ros and i am still finding my way ...
user avatar
0 votes
1 answer
1 view

which version of Opencv should I use?

Hi everyone, I'm a beginner in ROS. Currently, I'm trying to use a camera to locate and identify the color balls by the OpenCV package, but depend on my research I found that there has two version of ...
user avatar
0 votes
1 answer
1 view

How to link opencv to ROS indigo (catkin) with CMake (ubuntu 14.04)?

Am so far not able to use cv_bridge. Am getting this compilation error ...
user avatar
0 votes
1 answer
1 view

How to start using OpenCV and ROS

Hi Im new in OpenCV and would like to learn using it with ROS fuerte. I am using Ubuntu 12 and 14 and ROS fuerte and Microsoft Kinect. Any good tutorial to start install OpenCV in ROS and start using ...
user avatar
0 votes
1 answer
3 views

pcl library linking problem

Hi, I am facing a linking problem between pcl and ROS. I am using Ubuntu 14.04 and QtCreator. I am trying to convert the laser data to OpenCV image, now I have the pointcoud2 so I need to convert it ...
user avatar
0 votes
1 answer
2 views

ROS indigo and opencv seems not to work correctly

I'm trying to check if I could use opencv with ROS Indigo and also with PCL 1.7, based on this tutorial here, and it seems there would open a window to show the Image, but nothing happens in my ...
user avatar
0 votes
1 answer
2 views

Extract video from PointCloud2

I have a rosbag file with sensor_msgs/PointCloud2 data. I want to extract a video from these data. All the ROS tools I found is related to the extraction of video from an Image topic. Is it possible ...
user avatar
0 votes
2 answers
10 views

Which single board computer should I chose?

Hi ros community I' m working with ros to make a robot which can go itself with image proccessing. I am using lots of hardware in this project and I used pcduino V3 until this time. But I want to ...
user avatar
0 votes
1 answer
2 views

Problem of using Turtlebot to process image

Hi, everyone ! I'm doing image processing using turtlebot right now, and I have completed programming on VS Windows, it is going perfect, but when I transformed it to ROS, it just went wrong. I am new ...
user avatar
3 votes
2 answers
296 views

Real-time object classification for an indoor autonomous quad-rotor

I am designing an indoor autonomous drone. I am currently writing an object classification program in OpenCV for this purpose. My objects of interests for classification are: ceiling fans; AC units; ...
Vino's user avatar
  • 155
0 votes
1 answer
3 views

Do all of the OpenCV functions work fine on ROS?

I decide to do some image processing on ROS, and first I did the same job on VS2013 with OpenCV2.4.9 on windows, I am wondering if it is true that almost every functions like cvCvtColor or every data ...
user avatar
3 votes
2 answers
143 views

Suggestions on object types (features) to track from ARDrone 2 camera

UPDATE I have aded 50 bounty for this question on the StackOverflow I am trying to implement object tracking from the camera(just one camera, no Z info). Camera has 720*1280 resolution, but I ...
fiz's user avatar
  • 185
0 votes
1 answer
3 views

Getting coordinates through comparing .pgm files using opencv

1 - Generated the .pgm files through gmapping using LIDAR data. -- One with partial map -- One with map of the whole area Trying to: 2 - Use opencv to compare the maps 3 - To get the coordinates of ...
user avatar
0 votes
1 answer
5 views

cv::KalmanFilter not working [Solved]

I'm trying to use kalman filter in ROS with OpenCV library, but I'm getting error. below is the error that I'm getting while compilation. error: ‘KalmanFilter’ is not a member of ‘cv’ cv::KalmanFilter ...
user avatar
0 votes
1 answer
10 views

why RGB and depth Image synchronization not working? [Solved]

why this works ? but not the bottom one? ...
user avatar
0 votes
1 answer
2 views

How do the YAML Parameters relate to Pinhole-Model

I try to make sense of the YAML Matrixes below and so far know that camera_matrix holds intrinsics distortion_coefficient is ...
user avatar
0 votes
1 answer
3 views

Convert cv_bridge Image to cv::Mat image

I would like to have a pure OpenCV version cv::Mat of the Image on which I can do further modifications. I tried ...
user avatar
0 votes
1 answer
2 views

Book: Learning ROS for Robotics Programming; Chapter 5 homography.cpp:16:39: fatal error: opencv2/nonfree/nonfree.hpp: No such file or directory

Hello, I am studying the book for beginners to understand ROS. When I compile chapter 5 tutorials, I face this problem. ...
user avatar
0 votes
1 answer
1 view

Multiple static target position estimate

An aerial vehicle captures images of the ground, using a down facing camera, in order to detect some static ground targets. Using opencv I created a node that detects those targets and converts their ...
user avatar
0 votes
1 answer
1 view

Problems integrating OpenCV with ROS Indigo

I am trying to build a simple program to start working with OpenCV with ROS Indigo; however, whenever I try to build the code (catkin_make) the build fails and returns " undefined reference to '...
user avatar
0 votes
1 answer
40 views

image_geometry projectPixelTo3dRay World Coordinates

Good evening, i have a problem and i need help as fast as possible. For a tracking program i try to subscribe from two image_rect_color + their ...
user avatar
5 votes
2 answers
2k views

Tracking objects from camera; PID controlling; Parrot AR Drone 2

I am working on a project where I should perform object tracking using the camera of Parrot AR Drone 2.0. So the main idea is, a drone should be able to identify a specified colour and then follow it ...
fiz's user avatar
  • 185
0 votes
1 answer
2 views

Where's the install location of the ROS indigo's opencv

Hi, all, My OS is ubuntu 14.04, I had installed ROS indigo (Desktop-Full), where's the install location of the ROS indigo's opencv ? I coudn't find it in "/opt/ros/indigo/lib" Could ...
user avatar
0 votes
1 answer
1 view

what is the first step of doing image processing with ROS?

hi i am beginner with image processing and want to start that with ROS but i dont know what is the first step ? for example should i first install OpenCV? or its not important ? and may be i should ...
user avatar
0 votes
1 answer
1 view

How I can run contour_moments.cpp OpenCV example?

I don’t know how to run the file contour_moments.cpp that’s able in this github link: https://github.com/ros-perception/vision_opencv/blob/indigo/opencv_apps/src/node/contour_moments.cpp I’m working ...
user avatar
0 votes
1 answer
1 view

Setting up Catkin Baxter Environment Error - INDIGO

Ubuntu 14.04.2 LTE I'm trying to setup a workspace to simulate Baxter in gazebo with Ros Indigo. When I run catkin_make in my workspace i get the following error: ...
user avatar
0 votes
1 answer
1 view

OpenCV in ROS indigo

Hi Ros users: I have a script where I use OpenCV functions and ROS functions. But I have a problem when I run this script. Mi question is: What version of OpenCV have I to install to work with Ros ...
user avatar
0 votes
2 answers
1 view

ROS Answers SE migration: OpenCV imread

I was following these examples; http://wiki.ros.org/action/login/image_transport/Tutorials/PublishingImages More specifically, let's look at this piece of code: ...
user avatar
0 votes
1 answer
5 views

image_proc not working as expected

Hello everyone, I'm trying to use image_proc to rectify my image, coming from a folder. Here is my launch file: ...
user avatar
0 votes
1 answer
2 views

How to use opencv-contrib modules in ROS Indigo?

I am using ROS Indigo on Ubuntu 14.04. I installed the OpenCV 3 for ROS with apt-get: sudo apt-get install ros-indigo-opencv3 However, I would like to use modules ...
user avatar
0 votes
1 answer
855 views

what's confidence level? and how can we use it for vehicle detection using OpenCV?

I'm working on project for the Autonomous vehicle, and i want to know what's confidence level means and how can we use confidence level for vehicle detection in OpenCV ?
assam alzookery's user avatar
0 votes
2 answers
1 view

ROS example program doesn't work with the Laptop webcam

I have been trying to work with the example program for ROS - OpenCV integration. When I run the program, there is no progress. I am not getting any response. I dont have any external or USB webcam. I ...
user avatar
0 votes
1 answer
2 views

Building Ros 2.0 without OpenCV?

I'd like to build Ros 2.0 without having to have OpenCV installed. Is this possible / How would I do this? Originally posted by Sam101 on ROS Answers with karma: 11 on 2015-09-11 Post score: 1
user avatar
0 votes
1 answer
1 view

Package for TLD algorithm in indigo

I found TLD algorithm package in github but it is for groovy. is there any indigo package for TLD algorithm or any similar object tracking algorithm ? Originally posted by Kishore Kumar on ROS ...
user avatar

1 2 3
4
5
10