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

DLL Import fails on ESP was not properly saved accross a function call when using aruco V3

I am trying to integrate ArUco V3 in a Unity project. Therefore I created a .DLL which is imported as function like : private static extern void functionName(uint, uint, float, float,float,float,IntPr,float) The function in the header file is…
2
votes
1 answer

Tune of aruco detection parameters on marker identification

I've two photo really similar this one is recognized correctly as marker 209 of a 5x5_250 dictionary while this other really similar it is not recognized, it is the marker 207 of the same 5x5_250 dictionary: and also the marker 207 is instead…
Etantonio
  • 359
  • 1
  • 5
  • 13
2
votes
1 answer

Distance between two Aruco Markers in Python?

I am trying to calculate the distance between two Aruco markers in Python. I have code that can calculate the pose of one marker but I am not sure how to move from there. Is there anyone that has done something similar or can point me in the right…
H_lore
  • 23
  • 3
2
votes
1 answer

Aruco Marker Tracking With Multiple Markers From the Same Dictionary

I'm using ChAruCo marker tracking from OpenCV Contrib. I'd like to track multiple boards, but the mechanism to create the marker boards is not as I would expect. What I picture is having one dictionary (Say, DICT_4X4_50) to create many markers…
thewfool
  • 31
  • 5
2
votes
1 answer

How frequent do you need to do camera calibration for ArUco?

How important it is to do camera calibration for ArUco? What if I dont calibrate the camera? What if I use calibration data from other camera? Do you need to recalibrate if camera focuses change? What is the practical way of doing calibration for…
Syaiful Nizam Yahya
  • 4,196
  • 11
  • 51
  • 71
2
votes
2 answers

Corner Refine Method, CORNER_REFINE_SUBPIX, from AcUro with Python and OpenCV

Hi There I want to increase the accuracy of the marker detection from aruco.detectMarkers. So, I want to use Corner Refine Method with CORNER_REFINE_SUBPIX, but I do not understand how it is implemented in python. Sample code: frame =…
Friedi
  • 145
  • 1
  • 2
  • 6
2
votes
1 answer

OpenCV Marker Z axis incorrect transform

I'm using C#, .NET Core 2.1 and OpenCvSharp library on OSX. I'm trying to get marker axes printed nicely on the camera footage, but unfortunately my Z-axis is going insane. Seems like no matter how many calibrations I do (even tried 100), the…
Wojtek Turowicz
  • 4,086
  • 3
  • 27
  • 38
2
votes
1 answer

Track ArUco marker in gray scale OpenCV image?

I want to use ArUco marker to do AR and I want to know if I can track the ArUco marker in a grays scale OpenCV image? Thanks. YL
EnJ
  • 175
  • 1
  • 9
2
votes
1 answer

Fiducial marker or camera pose estimation

Let's say, we've got an Aruco marker and we want to estimate a camera pose. We can use estimatePoseSingleMarkers() function, which is based, as I understood, on solvePnP() function. So, help me, please, answer the next two questions: What are the…
Roman Dosaev
  • 53
  • 2
  • 7
2
votes
1 answer

How to increase aruco detection accuracy?

I have filmed an object on aruco board from two positions with the same camera. I've undistorted images and calibrated camera before work. I take one red point on one shot and calculate 3d line, which corresponds to this point 3D space, and then…
Stepan Yakovenko
  • 8,670
  • 28
  • 113
  • 206
2
votes
0 answers

ArUco marker coordinates in the image plane

Using OpenCV v3.1, I detect an ArUco marker, and with aruco::estimatePoseSingleMarkers(corners, markerLength, camMatrix, distCoeffs, rvecs,tvecs); I can get the rotation and translation vector for said marker from the marker coordinate system to the…
2
votes
0 answers

What is the distortion model for coefficients estimated using "cv::aruco::calibrateCameraCharuco"?

I am trying to calibrate my smartphone (with AE/AF locked) using a ChArUco board. For that, I am using "cv::aruco::calibrateCameraCharuco" and have implemented a pipeline referring to the link here (Inputs to the pipeline: photos of the ChArUco…
Sameer Sharma
  • 23
  • 1
  • 7
2
votes
0 answers

How to initialize a 3D aruco board object points?

I have a 3D object (a helmet) with a bunch a aruco markers on it. I'd like to treat these markers as a board. The markers are not co-planar with each other, but that is fine, per my understanding of aruco boards. The problem is, how do I initialize…
Mark B.
  • 111
  • 1
  • 3
2
votes
1 answer

"Functional-style cast from id to double is not allowed" when building opencv with aruco on iOS

I'm trying to make an iOS app that can detect Aruco markers. So, I downloaded opencv2.framework for iOS, but I realized that Aruco is not included in that. Following this page, I compiled manually adding opencv_contrib…
keyblade95
  • 329
  • 3
  • 11
2
votes
1 answer

How to get the difference of Aruco Markers' axis-angel in the world coordinate?

I am new to opencv and Aruco. I attempted to find out the differences in axis-angles of two different Aruco markers. For example, the angle difference b/w the two (1, 0, 0) vectors of markers in the real world. In my understanding, the transform…