Questions tagged [aruco]

ArUco is a C++ library (based on OpenCV) for detection of squared planar markers. Use this tag for questions about using the library.

ArUco is a library that can detect a variety of markers in images and video. Intended for use with , it is based on and is available for a variety of platforms.

The author maintains a page that includes links to documentation and the download site on SourceForge.

329 questions
0
votes
0 answers

Ambiguity problem in the detection of the ArUco marker when it is parallel to the camera plane

I am developing a vision system based on ArUco visual markers. The ArUco library used is cv2.aruco.DICT_7X7_50 and the marker I have used is 2 cm on each side. I have made the calibration using a 3.6 cm board for each square, obtaining results that…
0
votes
1 answer

Error using board_create for aruco markers due to objPoints type

I want to be able to detect aruco markers on a 3D object and I'm therefore trying to create my own custom aruco board in OpenCV, with the locations of the markers. I have produced a snippet of the code, to reproduce the error. # Load the ArUco…
0
votes
0 answers

cv2 findArucoMarkers sees marker from far away but doesn't draw center point until closer

The Aruco marker is detected on the img but isn't fully detected because the cv2 drawing functions don't appear on the img until I'm closer to the marker. I also have white boarders around the marker which helps a lot but this is different. My code…
0
votes
0 answers

Trying to use ArUco OpenCV marker as new origin and find coordinates of other markers in scene

I am working with ArUco markers from the Python OpenCV library, and I am trying to find the angle between two markers I have attached to a bending robot (see image). The image is cropped as there is a lot of clutter in the background. I am able to…
0
votes
1 answer

Error while trying to make Camera Calibration using Charuco Board (OpenCV, C++)

I'm trying to find distortion coeffitients using Charuco Board from the Aruco OpenCV library. I'm using Qt and OpenCV libraries compiled for Qt. First I've needed to do is to create the Charuco Board. I've done it using this: using namespace…
0
votes
1 answer

Loss of scale from AruCo poses to estimate Camera extrinsics?

Simply put, I am trying to estimate camera poses from pictures of a table with an aruco marker in the middle of it using the openCV library. 20 pictures are taken with 360/20 degree increments . As far as I understand, estimatePoseSingleMarker gives…
0
votes
0 answers

OpenCV stereoCalibrate always returns totally different results

I want to experiment with stereo imaging and therefore, installed two webcams which are aligned nearly parallel next to each other. I detect corners on a charuco chessboard and calculate the fundamental matrix using stereoCalibrate from OpenCV.…
NMO
  • 748
  • 8
  • 16
0
votes
1 answer

ArUco Markers, pose estimatimation- Exactly for which point the traslation and rotation is given?

I Detected the ArUco marker and estimated the pose. See the image below. However, Xt (X translation) I get is a positive value. According to the drawAxis function, the positive direction is away from the image center. So I thought it was supposed…
0
votes
2 answers

Rotation/translation vector incorrect

I calibrated a camera according to: ret, mtx, dist, rvecs, tvecs = cv2.calibrateCamera(objpointslist, imgpointslist, imsize, None, None) which resulted in: rvecs = array([[ 0.01375037], [-3.03114683], …
Matt
  • 31
  • 6
0
votes
2 answers

Why is detection rate of Charucos in cv2.aruco.detectMarkers() so poor?

I am in trouble figuring out why cv2.aruco.detectMarkers() has problems in finding more than just a few markers with my calibration board. Playing around with the paramters didn't essentially improve the quality. The dictionary is correct as I tried…
mt-cv
  • 23
  • 6
0
votes
1 answer

ArUco marker Detection ids None

Hey everyone i recently started to learn arUco markers for detecting a specific point in image so i generate a simple marker with id 10 but when i tried to detect it with my python code import math import cv2 import cv2.aruco as aruco img =…
Jon Snow
  • 59
  • 6
0
votes
1 answer

What is the purpose of decimation when calibrating a camera with Charuco?

I have been working on performing camera calibration using ChAruCo boards. Following the code here (my commented version is shown below), it appears that only every other image is used when performing the camera calibration - due to the…
x51
  • 1
0
votes
1 answer

Get the real distance between two OpenCV ArUco markers

How can I get the real distance between two ArUco markers in a frame?
Simon
  • 1,754
  • 14
  • 32
0
votes
1 answer

Creating cv::Ptr cause an exception at the end of the application

I am working with openCV arUco markers to detect some markers. So I generated pre-defined dictionary and saved it in a file. However the aruco::detectMarkers can only get Ptr. So I create a Ptr object and sent…
Yonatan
  • 51
  • 7
0
votes
0 answers

Transformation Matrix From EstimatePoseSingleMarkers

I try to get transformation matrix from my camera to the mid point of an aruco marker and I use cv2.aruco.estimatePoseSingleMarkers function. In the description it says : The returned transformation is the one that transforms points from each marker…