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
3
votes
1 answer

Why aruco doesn't detect markers in my image

I generate a series of aruco markers DICT_4X4_50 and I print them but when I launch the detector on this image for example, it doesn't work.. Though the marker is fairly visible: int main(int argv, char** argc) { Mat frame = imread(argc[1],…
Ja_cpp
  • 2,426
  • 7
  • 27
  • 49
3
votes
1 answer

How to transform a 3D model for Augmented Reality application using OpenCV Viz and ARUCO

I'm developing a simple marker based augmented reality application with OpenCV Viz and ARUCO. I just want to visualize a 3D object (in PLY format) on a marker. I can run marker detection and pose estimation (returning rotation and translation…
mkocabas
  • 703
  • 6
  • 19
3
votes
2 answers

How to convert camera extrinsic matrix to SCNCamera position and rotation

I'm trying to achieve Augmented Reality with SceneKit. I got a intrinsic camera matrix and a extrinsic matrix by estimating pose of a marker, using ARuco (OpenCV augmented reality library). And I set up the SCNCamera's projectionTransform with…
akira108
  • 330
  • 3
  • 18
2
votes
3 answers

OpenCV 4.7 camera calibration with ChAruCo markers

I have trouble setting up the camera calibration features with charuco markes. I am using Win10 with VS217 and openCV 4.7 installed from the download. Genuinely, the code can use AruCo markers and set up the Charuco Board, but the calibration…
Peter
  • 51
  • 5
2
votes
0 answers

crashing when estimateposecharucoboard error: (assertion failed) channels() == CV_MAT_CN(dtype) in function 'copyTo'

I am getting this error while cv::aruco::estimatePoseCharucoBoard. but it works fine when I do cv::aruco::estimatePoseSingleMarkers. I have also tried to change the image channels CV_8UC1 to CV_8UC3 and CV_8UC4. when I make it 4 it asks for 1 or 3.…
geek
  • 794
  • 3
  • 16
  • 41
2
votes
1 answer

ArUco Markers are not detected

I'm trying to detect the ArUco markers in this image: using this code: import cv2 import cv2.aruco as aruco import numpy as np def findArucoMarkers(img, markerSize = 5, totalMarkers=250, draw=True): gray = cv2.cvtColor(img,…
Bilal
  • 3,191
  • 4
  • 21
  • 49
2
votes
1 answer

Estimate the camera pose in the reference system using one marker with ARUCO

I am currently working on a camera pose estimation project using only one marker with ARUCO. I used Aruco's Marker Detector to detect markers and get the marker's Rvec and Tvec. I understand these two vectors represent the transform from the marker…
NULLPTR
  • 215
  • 1
  • 3
  • 12
2
votes
1 answer

Angle between 2 ArUco markers planes

I want to measure the deviation of the angle of an ArUco marker to a plane defined by a second reference ArUco marker. A reference ArUco marker (M1) is fixed against a flat wall and a second ArUco marker (M2) is a few centimeters in front of that…
michltm
  • 1,399
  • 2
  • 13
  • 33
2
votes
1 answer

Error while installing Aruco using pip "pip install aruco".ERROR: Failed building wheel for aruco

Error while installing Aruco using pip "pip install aruco". I'm trying to install the Aruco library but each time I'm getting the same error. ERROR: Failed building wheel for aruco ERROR: Failed building wheel for aruco Running setup.py clean for…
Liyam
  • 41
  • 2
2
votes
2 answers

Is this a normal amount of instability for an ARUCO board estimation? (video example)

I'm trying to use ARUCO boards to assist with indoor robot navigation and I'm having trouble with the pose estimation Z axis flickering when the board is most head-on to the camera. Please see the issue here - watch how the blue axis flickers back…
user441669
  • 1,054
  • 1
  • 10
  • 23
2
votes
1 answer

OpenCV Custom Aruco Dictionary with specific markers?

For performance reasons, I'd like to use an aruco dictionary that only contains a specific set of 20 aruco markers. The 20 markers I need in my custom dictionary are already chosen and come from the pre-defined dictionary DICT_6X6_250. I've been…
tmalik777
  • 21
  • 2
2
votes
0 answers

Convert Euler angle between camera & robot coordinate system

My problem is simple, but yet confusing as I personally have no experience in angles and angles conversion yet. Basically, I need to locate the position of an object attached with single AruCo marker then send the 3d coordinate and pose of that…
2
votes
0 answers

How accurate are the values produced by aruco.estimatePoseSingleMarkers()?

I will be using the values produced by this function as a ground-truth labels for a computer vision task, where I will train a model using simulation data and test it using ArUco's real world ones. I calibrated my smartphone camera with a chess…
Alice J
  • 59
  • 1
  • 7
2
votes
1 answer

Camera calibration at image corners

I'm using OpenCV and working on calibrating a camera, testing a charuco-type calibrator for the first time. I had many expectations about this calibrator, thinking with it I could get much closer to the corners of the image than with a standard…
2
votes
0 answers

Find actual distance betweeen two aruco markers in meters

Context: I have a big 2mx2m arena on which 4 aruco markers are printed, their position from a corner of the arena is known and is fixed. Now I have another aruco marker on a robot moving over this arena. PS the position known are in 2d. Problem: I…
1 2
3
21 22