Questions tagged [opencv]
OpenCV (Open Source Computer Vision) is a cross-platform library of programming functions for real time computer vision.
460
questions
0
votes
1
answer
6
views
How to change OpenCV version of any ros package?
Example ;
...
0
votes
1
answer
7
views
catkin_make opencv version conflict
Hello everyone ;
When I write catkin_make it gives such a warning.
...
0
votes
1
answer
13
views
rtabmap: g2o, GTSAM
why do I need them?
I have installed rtabmap-ros as ROS package. Have I already running g2o and GTSAM?
Originally posted by june2473 on ROS Answers with karma: 83 on 2020-02-03
Post score: 0
0
votes
1
answer
1
view
Is there a way to publish a video file so it can be displayed with a camera display in RViz? (solved)
I have recorded videos I want to display in RViz with a camera display so that I can overlay them with my other plugins.
Is there a way to do that?
I tried with the video_stream_opencv plugin already ...
1
vote
0
answers
89
views
Interpreting results from Camera Calibration?
I used OpenCV's findChessboardCorners on a few checkerboard images (40~) and about 27 seemed to find the corners accurately. How does one proceed from here? Do I calculate the reprojection error over ...
0
votes
1
answer
100
views
Visual-Positioning Method
I'm working on mobile manipulator and trying to do visual-positioning of the end-effector.
My camera will located around 1-2 meters from the robot.
I'm sure i cant use color tracking method because ...
4
votes
1
answer
91
views
Make robot drive as far from obstacles as possible
I am trying to make robot drive around the room, avoiding obstacles with pathfinding. The problem is I get few waypoints from pathfinding algorithm for robot to drive to (green dots), but it drive a ...
2
votes
0
answers
142
views
How do I use the live video stream from my arduino camera (connected by serial), to run with my OpenCV python ball tracking code?
My objective is to have the arduino camera, just to act like a webcam, and have my laptop run a ball tracking script on it. The ball tracking script already works with my laptops camera, and it can ...
0
votes
1
answer
1
view
rosrun can't open my video (ROS OpenCV)
Hi guys,
I'm trying to stream some video file (.mp4).
I wrote a node:
...
0
votes
1
answer
263
views
Path planning or 2D Mapping
i want to collect some ideas about this video. https://www.youtube.com/watch?v=q-ZDB8xqI7M
Is the Left Vacuum cleaner using some 2D Mapping or OpenCV to navigate through the room ?
Or is it just a ...
0
votes
1
answer
2
views
Not able to publish image to std_msg/Image
I am trying to run a publisher code that publishes an Image to a topic. But, whenever I run the code, I get an error. The code I have written is below -
...
0
votes
1
answer
5
views
I cannot install ROS Kinetic desktop following the tutorial
No way to install ROS Kinetic with OpenCV in RPi4, I followed the official guide, from a fresh install, with swap, with -j1,-j2...
Did somebody get install Kinetic with openCV?
i got install OpenCV 4....
0
votes
1
answer
2
views
Building OpenCV from source for ROS
I'm in need of a newer version or OpenCV than is provided by my Ubuntu repo. Is there a version or fork of OpenCV that contains a package.xml so it can be compiled as part of a ROS workspace? Seems ...
0
votes
1
answer
19
views
Display image in RVIZ
Hello
Is there any way to send a captured image to the rviz and display it in a certain position?
similar to a Basic geometric markers for Rviz (visualization_msgs / Marker.msg)...
The idea is to use ...
0
votes
1
answer
1
view
Combines message for image and information gives "invalid initialization error"
Hello,
I am currently trying to implement a message that includes the images as well as the detected bounding boxes.
The publisher works very well, but the subscriber gives me the following error ...
0
votes
1
answer
4
views
display a 16-bit grayscale images from a thermal camera in OpenCV
I would like to display a 16-bit grayscale images from a thermal camera in OpenCV. I tried different images' encoding but what I get is either totally black or totally white picture. my code looks ...
0
votes
1
answer
20
views
How to calculate the distance to object with orbbec astra camera
Hello, I am using orbbec Astra camera in order to get the distance to the already detected object. I have detected the object by using OpenCV and /brg/image_raw topic from Astra camera. Now I want to ...
0
votes
2
answers
2
views
ROS2 Windows OpenCV self package?
Hi,
I have finished migrating a ROS package to ROS2 and I am currently going to test it on Windows.
I had a question regarding the installation of OpenCV.
Is there a particular reason why OpenCV is ...
1
vote
3
answers
313
views
Algorithm for centering an object that is changing speed
I'm trying to use a pan / tilt alt-azimuth telescope mount to track an object that is moving in the sky. The problem is that the object is changing speed constantly. I can easily track objects that ...
0
votes
1
answer
10
views
How to use pcl (+ cuda modules) with ROS
Hi,
I want to use pcl and openCV with cuda. I know now that I have to install another version of openCV (since the default version of openCV in ROS kinetic does not include cuda modules) and then call ...
1
vote
2
answers
27
views
OpenCV camera rvec tvec to ROS world pose
I'm detecting Aruco tags using the OpenCV bridge and I have tvec and rvec returned with the tag pose related to the camera using OpenCV axis notations. I would like convert them to a ROS pose related ...
0
votes
1
answer
3
views
ROS Melodic OpenCV xfeatures2d
On ROS Melodic ros-melodic-opencv3 doesn't exist anymore as e.g. on ROS Kinetic. Instead it is recommended to install libopencv-dev http://wiki.ros.org/melodic/Migration#opencv , however, this package ...
1
vote
1
answer
60
views
Image data fusion
I have three cameras separated by some distance, looking at a scene. I have calibrated them using checkerboard and I have their respective intrinsic parameters and their pose and rotation matrix, I am ...
0
votes
1
answer
1
view
Image overlay with transparency (sensors_msg/Image) on mapviz
Hi everyone,
I've written a simple node which reads in a png file with transparency and publishes it to a certain topic. The topic is then subscribed by mapviz to display the image as an overlay. ...
0
votes
1
answer
4
views
How to select version OpenCV in ROS?
Hi,
My name is Junifer. I am a student at a university. I am working with ROS and OpenCV. I installed 2 version of OpenCV and Python in my computer.
OpenCV 3.4.3 - Python 3
OpenCV 2.4.8 - Python 2
...
3
votes
1
answer
2k
views
Trigger two usb cameras at the same time
I'm studyng stereo cameras, and I want to build one. I searched a lot in internet, and the opinions are quite different about this topic.
Basically, my question is:
Can I synchronize two usb ...
0
votes
1
answer
84
views
Fixing robot orientation using AR
I am creating a project where a robot needs to face a control panel and do some specific tasks. Some reference tags will be placed on the panel.
I want to use the tags as AR reference and fix my ...
1
vote
1
answer
84
views
How to tringulate many projections of a point to optimal postion?
Suppose we have many images for the same scene (with known poses already,using for ex: a GPS ), and the same feature appear in more than 2 images .
How to use all the available info to compute as ...
0
votes
2
answers
1
view
camera_calibration opens gui window but freezes
I'm trying to run the camera_calibration node. I run this command:
...
2
votes
1
answer
187
views
Robotic Hand Grasp Planning - How do I find the initial contact point for each finger when grasping an object?
I am trying to design a robotic hand that is able to adaptively grasp unfamiliar objects. I am initially thinking that using OpenCV for pose estimation might make doing so easier.
Assuming that I am ...
0
votes
1
answer
3
views
Using camera calibration results in OpenCV
I've calibrated Kinect intrinsics (both depth and rgb) using camera_calibration module and saved a bunch of rgb images afterwards (calibration file was detected successfully; subscription to kinect1/...
0
votes
1
answer
2
views
[SOLVED] Cannot use OpenCV trackbar with vision_opencv?
Hi, so I'm making a video publisher that stores frame from webcam as OpenCV image to be HSV-filtered, eroded, and dilated then convert it to a ROS image to be published to a subscriber. The code is ...
2
votes
1
answer
631
views
Pictures coordinates to robot coordinates
I have a picture on my C# software and the corresponding object in real world on 2d plane of motorized XY axis table. What I want is when I select a pixel on my picture, the motorized table should be ...
0
votes
1
answer
2
views
Images from fisheye camera are displayed correctly with BGR8 encoding but not with MONO8
Hi,
I want to output grayscale images from a fisheye camera (FOV < 180 degree). I understand that ROS currently doesn't support fisheye distortion models. However, I see that if I use a BGR8 image ...
0
votes
2
answers
6
views
How to specify my own OpenCV3 for cv_bridge
The ROS1 package cv_bridge can be downloaded here: https://github.com/ros-perception/vision_opencv.git and be found at ...
0
votes
1
answer
2
views
undefined reference to `StitchedMap::get_stitch()'
Hi everyone! I am new to ROS.
I am trying to convert the Mapstitch package (https://github.com/tu-darmstadt-ros-pkg/mapstitch) from Rosbuild to Catkin. However, after I created a catkin package and ...
0
votes
1
answer
4
views
image stream using camera
Hello guys,
My question might seem easy for many since i am still fresh in Ros and Opencv.
I am following the tutorials provided on Ros Website. I am going through the tutorial ''Converting between ...
0
votes
1
answer
7
views
sensor_msgs - Can't build tutorial project
I am trying to pass images as messages in a simple ROS project. I'm a complete beginner in ROS and robotics. The tutorial I'm trying to follow is here:
http://wiki.ros.org/cv_bridge/Tutorials/...
0
votes
1
answer
1
view
point grey camera withe jackal
Hi,
I am using the jackal for my university project.
I have attached a camera to collect images and am using the cv bridge library to get snapshots.
On the desktop and simulation environment, I use ...
0
votes
1
answer
1
view
Problem with OpenCV on Kinetic
I am finding a way to resolve OpenCV issue with ROS Kinetic. After trying using cvg_sim_gazebo package, the functionality is now ...
0
votes
1
answer
3
views
How do I change the version of a package being used? Specifically, I want to downgrade the version of opencv being used
I want to change the version of opencv I am using to fix a problem I am having, or to at least rule out the version update as the problem cause. The problem is described here.
Downgrading the package ...
0
votes
1
answer
5
views
Using opencv tracking with ROS kinetic
Hey, i want to use the tracking packageof opencv3 contrib in my ROS package.
The tracking packagee seems to be installed correctly, i can find the tracker.cpp in my opencv folder and also use other ...
0
votes
1
answer
2
views
error: variable cv::cuda::GpuMat has initializer but incomplete type
I'm trying to use the CUDA implementation for OpenCV on the NVidia TX1.
Using cv::Mat, the minimal example below works, but with cv::cuda::GpuMat it returns errors when comiling:
...
1
vote
0
answers
699
views
How to make a line following algortihm for an A.R Drone 2.0? [closed]
I am trying to develop a line following algorithm where a drone will detect a bounding box and follow what is inside the bounding box.
I am filtering all the colors to only see the color white. Once ...
4
votes
1
answer
9k
views
Determine the relative camera pose given two RGB camera frames in openCV-python
I would like to determine the relative camera pose given two RGB camera frames. I assume there's overlap in field of view between the two cameras, what I am looking for ultimately is the rotation and ...
0
votes
2
answers
2
views
Install opencv_contrib Tracking package
Hey there I simply want to use the tracking package of the opencv3 contrib package in my ros kinetic.
I figured already out that in particular the tracking package is not contained in one of the ...
0
votes
1
answer
6
views
How to tell Catkin_make to use opencv with gpu?
Hi.
I have same trouble with this Having trouble using CUDA enabled OpenCV with kinetic.
My trouble is catkin_make is looking into only non-cuda function for ros-kinetic even I use NO_MODULE to tell ...
3
votes
1
answer
1k
views
OpenCV get topdown view of planar pattern by using intrinsic and extrinsic from cameraCalibrate
Originally I have a image with a perfect circle grid, denoted as A
I add some lens distortion and perspective transformation to it, and it becomes B
In camera calibration, A would be my destination ...
0
votes
1
answer
1
view
compile with different opencv
I would like to compile a ros package skimap_ros with a local version on opencv. All my attempts at overriding the libraries in the CMakeLists.txt have failed ...it keeps taking the opencv from /usr. ...
1
vote
0
answers
111
views
Drone Feedback: Object Detection / Color Detection [closed]
I have been working on a code where an A.R Drone 2.0 will detect color and put a red dot in the middle of the image. I am using streaming for the drone. The goal is for the drone to detect a white ...