Skip to main content

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
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 ...
vacky's user avatar
  • 417
5 votes
1 answer
938 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 ...
SidharthM's 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
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 ...
Fracedo's user avatar
  • 151
4 votes
1 answer
350 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
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 ...
chibro2's user avatar
  • 235
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+, ...
Davido's user avatar
  • 141
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 ...
Nitron_707's user avatar
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 ...
Name's user avatar
  • 41
4 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 ...
Kozuch's user avatar
  • 643
3 votes
2 answers
297 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
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 ...
Giuseppe Sensolini's user avatar
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 ...
ricecakebear's user avatar
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 ...
N.Zano's user avatar
  • 31
3 votes
0 answers
550 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 ...
Mahmoud's user avatar
  • 31
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
2 votes
1 answer
198 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 ...
Stephane Hatgis-Kessell's user avatar
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
2 votes
1 answer
676 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 ...
Dairon's user avatar
  • 21
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
2 votes
0 answers
148 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 ...
Abhinav Sundar's user avatar
2 votes
1 answer
639 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. ...
Daphnee's user avatar
  • 125
2 votes
0 answers
332 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 ...
Daphnee's user avatar
  • 125
1 vote
2 answers
118 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’...
Tina J's user avatar
  • 111
1 vote
3 answers
423 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 ...
mcshaf01's user avatar
1 vote
2 answers
126 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 ...
renan's user avatar
  • 53
1 vote
2 answers
23 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 ...
user avatar
1 vote
1 answer
254 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 ...
vyi's user avatar
  • 215
1 vote
2 answers
116 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
1 vote
2 answers
116 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
1 vote
1 answer
371 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 ...
UJM's user avatar
  • 113
1 vote
2 answers
841 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/...
Brothers on the Road's user avatar
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 ...
Rajat Girhotra's user avatar
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 ...
Yasin Yousif's user avatar
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 ...
aero's user avatar
  • 111
1 vote
0 answers
21 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
0 answers
51 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: ...
Mhd Afz's user avatar
  • 111
1 vote
2 answers
176 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 ...
user37201's user avatar
1 vote
2 answers
928 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 ...
Mona Jalal's user avatar
1 vote
1 answer
461 views

ROS2: How to publish cv Mat image?

I'm having trouble understanding how to publish a cv::Mat image in C++, and I can find very little documentation about this. Here's my publish code. I based it on this tutorial: https://docs.ros.org/...
user avatar
1 vote
2 answers
187 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 ...
user avatar
1 vote
0 answers
89 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 ...
senSMEM8's user avatar
1 vote
0 answers
199 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....
Alexander Soare's user avatar
1 vote
1 answer
351 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
1 vote
0 answers
99 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 ...
r4bb1t's user avatar
  • 161
1 vote
0 answers
708 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 ...
mike's user avatar
  • 11
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 ...
Rob's user avatar
  • 11
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 ...
Jogging Song's user avatar
0 votes
1 answer
105 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 ...
Albert H M's user avatar
0 votes
1 answer
864 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

1
2 3 4 5
10