Questions tagged [opencv]
OpenCV (Open Source Computer Vision) is a cross-platform library of programming functions for real time computer vision.
460
questions
6
votes
1
answer
3k
views
Which is the best visual fiducial marker (2D barcode)?
Which is the best visual fiducial marker (2D barcode) for detection and robust and accurate pose estimation?
Im not looking for a fiducial marker which can store lot of information. The main goal is ...
5
votes
1
answer
931
views
How to check lane departure in OpenCV?
I'm using OpenCV 3 in Python 2.7 on a Raspberry Pi 3. My project's aim is to build an autonomous lane departing robot that can detect the two lanes on its sides and continuously correct itself to ...
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 ...
5
votes
2
answers
2k
views
Transforming Point Cloud to get Top Down Image [closed]
My task:
I have a task where I am asked to track parcels(carton boxes) of different dimensions moving on a conveyor. I am using Asus Xtion pro camera mounted on top of a conveyor in any inclined ...
4
votes
1
answer
294
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 ...
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 ...
4
votes
2
answers
1k
views
Stereo Camera calibration with different camera types
I'm trying to perform stereo camera calibration, rectification and disparity map generation. It's working fine with normal sample data. However, I'm trying to use the dual cameras on an iPhone 7+, ...
4
votes
1
answer
1k
views
Image registration with ground plane for surround view
I am currently working on a project which which involves surround view.
I have 4 fish eye cameras and are fixed at 4 sides of a car.The fish eye cameras are corrected for radial distortion.
After ...
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 ...
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; ...
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 ...
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 ...
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 ...
3
votes
1
answer
2k
views
Scale problem with monocular visual odometry
Is monocular visual odometry able to estimate relative scale? Say I have a sequence of 10 images that are taken on a single track each 1 m after the previous. Can some mono odometry method distinguish ...
3
votes
0
answers
541
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
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 ...
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 ...
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 ...
2
votes
1
answer
633
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 ...
2
votes
1
answer
944
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 ...
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 ...
2
votes
1
answer
632
views
Mobile robot pose estimation
I want to plot the path of a vehicle via the estimation of egomotion based on essential matrix.
Everything was fine with openCV and the following function.
...
2
votes
0
answers
326
views
Maintaining scale factor for essential matrix
I want to recover the trajectory of a vehicle using a monocular camera via the computation of the essential matrix between t-1 and ...
1
vote
2
answers
60
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
3
answers
317
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 ...
1
vote
2
answers
104
views
colorize area of point cloud on a 2D image
I am projecting a 3D Point Cloud on a 2D image incoming as ROS 2 messages. Now, I want to fill the gaps between pixels from the point cloud, so that I can see an area, instead of single pixels and ...
1
vote
2
answers
18
views
How to use arbitrary version of OpenCV
Hi, i have ROS Kinetic installed and it comes with OpenCV. I also have the latested OpenCV that i downloaded from github and installed in /usr/local.
The following code that i wrote will always use ...
1
vote
1
answer
92
views
Making sense of disparity values after applying `StereoSGBM` from OpenCV
I just started with Kitty Stereo Dataset (2015). The first thing I did was compute the disparity using the stereoSGBM class. And here is the rectified input images ...
1
vote
2
answers
106
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 ...
1
vote
1
answer
316
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 ...
1
vote
2
answers
743
views
Triangulation: Ceres solver minimizes only the last residual block
I have been attempting to estimate a bunch of 3d coordinates viewed via a multi-view setup with known poses, I have the code running, but the output of ceres seems baffling.
There are 7 image frames/...
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 ...
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 ...
1
vote
2
answers
1k
views
Scan an Auditorium, Count People, and Display Open Seats [closed]
I'm looking for any recommended approaches to be able to digitally process a room full people, like an auditorium or a movie theater and output the following information:
How many people are in the ...
1
vote
2
answers
56
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
153
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
28
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 ...
1
vote
0
answers
64
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
0
answers
157
views
Why would we solve AX=XB instead of just using the Kabsch algorithm?
I have a high precision stereo camera and a robot which are independent units (the camera is not mounted to the robot). I wish to compute a transformation from the camera frame to the robot base frame....
1
vote
1
answer
329
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/...
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 ...
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 ...
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 ...
1
vote
0
answers
37
views
Are homogeneous coordinates represented by appending image coordinates with a 1 in camera imaging
In camera imaging, there are several terms for point coordinates.
World coordinates: [X, Y, Z] in physical unit
Image coordinates: [u, v] in pixel.
Do these coordinates become homogeneous ...
0
votes
1
answer
101
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 ...
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 ?
0
votes
1
answer
45
views
Trouble aligning/calibrating camera with laser scanner
I have a robot which has 2 multi-spectral cameras and 1 laser scanner attached. In the end I would like to have the images from the cameras aligned with the scanner so that I can have spectral ...
0
votes
2
answers
42
views
Conversion from 32FC1 to mono8 using cv_bridge
I am trying to use cv_bridge to convert an image from /disp_map/image (32FC1 encoding according to msg->encoding ) to an ...
0
votes
2
answers
107
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, ...
0
votes
1
answer
169
views
Eliminate grey space around the saved map
I have mapped my Gazebo environment using the slam_gmapping node. On running ...