Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

ROS Melodic ORB SLAM 2 Map point vector is empty

I am trying to run ORB SLAM 2 with frames being published of a video I need to map however all parameters I have tried have lead to no features being detected even with some aggressive parameters as ...
Jack Duffy's user avatar
0 votes
1 answer
39 views

Create self-contained standalone ROS1 application for Windows

I created a ROS Noetic package that grabs data from some cameras and performs pose estimation of objects in the field of view (using OpenCV). Simultaneously, IMU data is measured and fused with these ...
masteryoda436's user avatar
1 vote
0 answers
32 views

cv2.stereoRectify works only when the rotation and translation are from camera 2 to camera 1

I am using the euroc-mav dataset to create a disparity map from stereo images: https://projects.asl.ethz.ch/datasets/doku.php?id=kmavvisualinertialdatasets. In this dataset the cameras are already ...
Idan Aviv's user avatar
  • 111
1 vote
1 answer
203 views

Video from dron camera to RTSP

I am a newcomer to using ROS and am facing the challenge of obtaining a video stream from the camera topic of my robot in Gazebo and transmitting this video via RTSP. I have attempted to use the gi ...
Jazx Jazx's user avatar
0 votes
1 answer
167 views

reading depth in mm from ros depth image

I want to read a depth image from ros. I subscribe to the /camera/aligned_depth_to_color/image_raw/compressed topic published by a intel realsense D435i camera. I ...
Franci's user avatar
  • 1
0 votes
1 answer
154 views

Calibration of camera using ROS, without camera info

As part of a college project, I need to communicate with a TM5-700 robotic arm developed by Omron, and implement, for now, a pick and place pipeline. For that, I am required to access the camera ...
noobcoder's user avatar
0 votes
0 answers
100 views

Segmentation fault in cv::findContours call

I am struggling to debug a segmentation fault. Any help is appreciated! The node just crashes whenever I launch it and following is the seg fault I am getting when running through gdb: ...
nebula's user avatar
  • 1
0 votes
1 answer
24 views

Convert CameraInfo K & D to OpenCV format convenience functions?

Are there existing functions to convert from camera info arrays of K and D to intrinsic and distortion cv::Mats that can be passed into opencv functions like ...
Lucas Walter's user avatar
  • 3,397
1 vote
2 answers
122 views

Vision programming with OpenCV

I am currently working on a project on NiryoOne which requires facial detection of a person through NiryoOne camera (ELP SONY IMX). The code that I am using works on my laptop running Ubuntu. However, ...
astabc44's user avatar
0 votes
2 answers
61 views

upgrade opencv version in melodic

Hello, i want to upgrade opencv version to over 3.4 in Melodic. Melodic installs opencv 3.2 originally, so I tried to uninstall opencv 3.2, and re-install opencv 3.4 But some packages which are ...
user avatar
1 vote
1 answer
366 views

Error when compiling cv_bridge in Raspberry Pi 4B with Raspbian buster and ROS Noetic

Im using Raspberry Pi 4B, with Raspbian Buster and ROS Noetic. When I tried to compile my catkin ws with a cv_bridge package I got the following error: CMake Error at vision_opencv/cv_bridge/...
bob's user avatar
  • 167
0 votes
1 answer
92 views

Noetic python raw Image publisher (from video)

Hi everyone, I have spent nearly 2 full days with this problem now and have some extensive research, but just can't figure it out. My apologies for being a burden, I ussually hesitate to waste anyones ...
user avatar
0 votes
1 answer
45 views

Image Subscriber Lags (despite queue_size=1 and buff_size=2**30)

Hi, I have been working on a Python class that will allow me to spawn an object in gazebo, take an image of the object, and then delete that object, for a given number of objects that I provide. I am ...
user avatar
4 votes
1 answer
363 views

Does a stable library exist for docking robots using images?

I built a mobile base from scratch, and now I am focused on getting the robot to charge. The robot is using an on-board webcam (and PC) to detect a QR barcode on the charger unit. Using OpenCV I find ...
Mike's user avatar
  • 361
2 votes
1 answer
1k views

Implementing PID on a line following bot using turtlebot

I am using ROS melodic,turtlebot 2 on Ubuntu 18.04. The idea is to create an environment consisting of lines as a path (slightly curved), and to program the turtlebot to follow the lines. Basically, a ...
satan 29's user avatar
  • 131
1 vote
2 answers
118 views

Reflective surface

Have you encountered the problem of reflective surfaces for realsense camera (d435 or t265) and lidar (A1 or A2). I would like to know what are the ways to solve problems with reflective surfaces for ...
Splinter1984's user avatar
0 votes
1 answer
198 views

Eliminate grey space around the saved map

I have mapped my Gazebo environment using the slam_gmapping node. On running ...
skpro19's user avatar
  • 314
0 votes
1 answer
10 views

Finding OpenCV Paths in ROS Builds

Short version: How do I find the path to haarcascade_frontalface_alt.xml provided by opencv? Long version: I'm working on getting the ...
DLu's user avatar
  • 4,294
0 votes
1 answer
15 views

openCV transform datatypes to ROS msg tf/goal

Hi, Iam looking for the best practice to make a openCV transform (getAffineTransform() ) into a pathplanner goal message (angle, translation). I dont really understand all the different datatypes used....
user avatar
0 votes
1 answer
84 views

Best OpenCV version for ROS Noetic

I ran this command to find out if my OpenCV version was 4: kg-config --modversion opencv4 The outcome was: 4.2.0 I also tried ...
user avatar
0 votes
1 answer
11 views

cv_bridge and OpenCV both define Exception class

I am trying to use cv_bridge in my project on Windows 10 using Visual Studio 2017. When I try to compile my code, I get the following errors: ...
user avatar
0 votes
2 answers
303 views

OpenCV4.2 and Ubuntu16.04 with python2.7?

Summary: I'm using new vision of opencv, opencv 4.2 with ubuntu 16.04 and python 2.7 After built cv_bridge, the output is: ...
Redhwan's user avatar
  • 101
0 votes
1 answer
23 views

How to get OpenCV 4 working with ROS Melodic?

I'm trying to run ROS Melodic with Opencv 4.2.0 on windows What is wrong with my CMAKELISTS? I have added opencv to my system path, but Catkin_make always gives this error: ...
user avatar
0 votes
1 answer
28 views

How to change OpenCV version of any ros package?

Example ; ...
user avatar
0 votes
1 answer
52 views

catkin_make opencv version conflict

Hello everyone ; When I write catkin_make it gives such a warning. ...
user avatar
0 votes
1 answer
15 views

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 ...
user avatar
0 votes
1 answer
3 views

rosrun can't open my video (ROS OpenCV)

Hi guys, I'm trying to stream some video file (.mp4). I wrote a node: ...
user avatar
0 votes
1 answer
4 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 - ...
user avatar
0 votes
1 answer
14 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....
user avatar
0 votes
1 answer
109 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 ...
user avatar
0 votes
1 answer
107 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 ...
user avatar
0 votes
1 answer
18 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 ...
user avatar
0 votes
1 answer
9 views

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. ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
0 votes
1 answer
10 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 ...
user avatar
0 votes
1 answer
11 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 ...
user avatar
0 votes
2 answers
37 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 ...
user avatar
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 ...
user avatar
0 votes
1 answer
10 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 ...
user avatar
0 votes
1 answer
34 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: ...
user avatar
0 votes
2 answers
5 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 ...
user avatar
0 votes
1 answer
12 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 ...
user avatar
0 votes
1 answer
4 views

what is the use of " .format(**config)) "

http://wiki.ros.org/dynamic_reconfigure/Tutorials/SettingUpDynamicReconfigureForANode%28python%29 in this link ^, they have this piece of code (shown below) ...
user avatar
0 votes
1 answer
3 views

For dynamic reconfiguration, which is the main file?

http://wiki.ros.org/dynamic_reconfigure/Tutorials In these tutorials, they have shown to create 1) a config file 2) a client file 3) a server file I want to dynamically reconfigure the HSV values for ...
user avatar
0 votes
1 answer
8 views

Using image callback and videocallback OpenCV Kinetic

Hi all! First question in the site! Hope you guys can help me out, I've got a problem by trying to use an image inside a function. In this function I got an example of edge detector from the camera. I ...
user avatar
0 votes
1 answer
88 views

how can i capture an image from camera using opencv c++ code in ROS?

This is my code: but I don't how to use it in ROS.Please help me step by step. ...
user avatar
0 votes
1 answer
4 views

add local opencv to path

I want to compile my ROS node with the opencv which is at /usr/local/ I have tried the following rosanswers I could compile my code without errors. But when i run the node, i get the following error. <...
user avatar
0 votes
1 answer
9 views

Transport Image tutorial issue: subscriber doesn't show image

Hello everyone, I tried to do the tutorial " Running the Simple Image Publisher and Subscriber with Different Transports " image_transport/Tutorials but I encountered an issue. When I run ...
user avatar
0 votes
1 answer
2 views

what is core?

hi guys, i am using opencv with ros environmnt and after many trials ,, a file named core is created !! and is of size 185 MB and i am wondering what is the need of this ??? its just got generated ...
user avatar
0 votes
1 answer
6 views

transform (x,y,z) coordinate from kinect to /map frame using tf

Hi, I'm tracking an object using a kinect and trying to publish the tf transform of that object in a "/map frame. I'm able to return the object's x, y and depth data using OpenCV. However, I'm ...
user avatar

1
2 3 4 5