All Questions
31 questions
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 ...
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 ...
1
vote
0
answers
71
views
ArUco Markers Distance Estimation Accuracy Difference
The distance estimated (in cm: Because input size of ArUco Markers in cm too) using the code line after importing math module:
...
1
vote
2
answers
243
views
Switching between 2 cameras (using opencv)
I have a manipulator in ROS and 2 cameras attached on it.
I want to switch the frames of cameras every 5 seconds
Both cameras work fine.
I do not want to close the window and reopen it (if it is ...
1
vote
2
answers
1k
views
Converting a ros2 bag of color raw images to image files or video
This is using ros2 Humble in Ubuntu 22.04 and native Python 3.10
Eventual goal: capturing depth aligned RGB and Depth streams from Intel RealSense D435 camera and converting them to RGB and Depth ...
1
vote
2
answers
130
views
Detecting door blockage using computer vision
I want to detect door blockage on a camera. Basically if the exit door is blocked by an object, it detects it as an anomaly. How can we do it? Is it possible to do it using OpenCV?
Remember, it doesn’...
1
vote
0
answers
95
views
WEBOTS - Connect a external Tkinter Script to main controller?
I have a WEBOTS Simulation with an automobile. Now while WEBOTS provides a camera overlay, I want to display the result of image processing along with sensor data in a comprehensive manner.
For this I ...
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, ...
1
vote
1
answer
374
views
Path planning for robot car on grid
I am currently doing a project as my hobby. I am trying to simulate a robot car in a grid arena. Below is the image of the arena:
The start point of the car is the bottom-right corner(dark green ...
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:
...
0
votes
1
answer
407
views
How to find visual odometry by video from cellphone camera mounted on robot?
I am writing codes in python for visual odometry from single camera. I used cell phone camera for testing. I took video of 35 sec with camera moving. I used code below to read first image
...
4
votes
1
answer
93
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 ...
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
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
...
0
votes
1
answer
88
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 ...
0
votes
2
answers
17
views
camera_calibration opens gui window but freezes
I'm trying to run the camera_calibration node. I run this command:
...
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 ...
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 ...
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 ...
3
votes
0
answers
551
views
Obstacle avoiding by Pi camera [closed]
I designed a mobile robot with my colleagues for our graduation project, the purpose of it is to detect mines (metals) in a specific area
We are programming the robot using Python on Raspberry Pi 3
...
3
votes
1
answer
3k
views
Converting Image Coordinates to (x, y) Position for Robotic Arm
I have a Robotic Arm with a camera mounted above it looking down at a slight angle.
Assuming I know the height of the camera, the angle of tilt and the small distance from the center of the robot ...
0
votes
1
answer
5
views
Problem Listener with
Good morning people
I did a listener for the camera/image_raw node republish (camera/image_test, but the following error appears: Client [/ QR_Listener_5598_1492006578702] wants topic /camera/...
0
votes
1
answer
132
views
Python OpenCV namedWindow and imshow freeze
Hi there,
I try to view a subscribed image via cv2.imshow() like the following:
...
0
votes
2
answers
8
views
Problem viewing images using python-opencv
I have trouble viewing color images from R200 realsense camera using the python-opencv interface.
The window is blank when I run this script.
When I comment out'cv2.namedWindow("Image window"...
0
votes
1
answer
3
views
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 :) ...
0
votes
1
answer
11
views
How to publish images quickly
ROS Indigo, Python, OpenCV (cv_bridge)
I wrote a node that does differential imaging on the webcam feed from a Kinect, but when I publish the final images and try to view them in image_view, the frame ...
0
votes
1
answer
3
views
Identify the white section of a binary image
I want to track the white section of the binary image. When the white section is detected (which is cuboid in my case) it should get the height and width and the value of left and top most pixel.
Then ...
0
votes
2
answers
11
views
New C++ API Documentation for OpenCV
Hi,I have 3 questions:
Is it possible to use the old API C++ for OpenCV while writing code in ROS?
If is not, does anybody know where can I find good documentation for the new OpenCV C++ API? some ...
0
votes
1
answer
39
views
Changing python version in ROS
Hi,
How to change the Python version in ROS, I installed EPD (Enthought Python Distribution) and it seems my ROS has used this version, instead of Python 2.7 which is installed by default ... I want ...
0
votes
1
answer
2
views
opencv pixel locations
Hi all,
I have an image that looks like this:
From this image, I want to get a list of all of the pixel locations for pixels which are nonzero (white). I'm using OpenCV in Python, and I don't have a ...
0
votes
1
answer
17
views
Opencv python LineIterator returning position information?
In the python sample for InitLineIterator here:
Copied below for convenience:
>>> import cv
>>> img = cv.LoadImageM("building.jpg", cv.CV_LOAD_IMAGE_COLOR)
>>> li = cv.InitLineIterator(img, (100, 100)...