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
2 answers

No module named 'cv2' issue with opencv and contrib modules

No matter what I install, it's either opencv-python, opencv-contrib-python or both at the same time, I keep getting the "No module named 'cv2'" error. I couldn't find an answer here. Some say that only opencv-python works, others say…
GZanotto
  • 31
  • 3
0
votes
0 answers

How to calculate the charuco imgPoints without using cv2.aruco.getBoardsObjectAndImagePoins()

How to calculate the charuco imgPoints without using getBoardsObjectAndImagePoins() I try to find the charuco imgPoins. This function give me for the same input parameters every time different imgPoins. Thanks!
I2I3
  • 31
  • 3
0
votes
1 answer

Compiler Error k4a-calibration Aruco dictionary is protected

Project Link: https://github.com/stytim/k4a-calibration I want to run the project but it can't compile Error message [ 33%] Building CXX object…
anonymous
  • 228
  • 1
  • 11
0
votes
0 answers

OpenCV: Getting 2D camera space coordinates of ArUco marker corners

I'm struggling with getting 2D camera space coordinates from my ArUco markers' corners and am only getting weirdly large results. Working with OpenCV and Python. What I have done so far: Extracting 2D corner coordinates of my ArUco markers in their…
0
votes
1 answer

camera calibration using charuco boards

I am working on camera calibration task using Charuco patterns using OpenCV, this is the first time i deals with this kind of boards but the problem that the corners_ids after interpolation step results the whole corners which is 70 corner in my…
0
votes
0 answers

Create a virtual surface with Aruco

I'm currently working on an Python Project using Aruco marker. I have one marker on the top left side of my table and i now want to create a rectangle from that position with fixed lengths. For example my working space out from the aruco marker…
Major23
  • 53
  • 7
0
votes
0 answers

draw 3d objects like cubes and pyramides or cilinders on a aruco marker

I'm failing miserably trying to draw 3d objects on a aruco marker as of now I've done camera calibration and I'm capable of placing images on the designated aruco markers but I'm having trouble with 3d objects I think it might come from image points…
0
votes
1 answer

How to get uncertainty/covariance in estimating the pose of ArUco marker - OpenCV

I am using OpenCV's cv2.aruco.estimatePoseSingleMarkers function to estimate the pose of an ArUco marker & it works well. However, I also want the uncertainty / covariance in the pose estimate. Is there a way to achieve this?
0
votes
1 answer

AttributeError: 'module' object has no attribute 'drawAxis'

I am working with ros melodic, opencv 4.5.5, ubuntu 18.04. I draw 3 axis of marker aruco to display on rqt_image_view. when running i get this problem AttributeError: 'module' object has no attribute 'drawAxis' Here is the code of my axis plot: …
huytd-pi
  • 21
  • 1
0
votes
1 answer

Slight occlusion lead to inaccurate corner location when detect ArUco Markers

Those occluded marker should be filtered out, but cv2.aruco.detectMarkers return the marker with incorrect corner location.
Yang
  • 269
  • 2
  • 6
0
votes
1 answer

Q: Can TWO different ARUCO 7X7_1000 images render the same ID?

While reading about a nice precise UAV landing approach (https://www.researchgate.net/figure/Example-of-e-ArUco-marker-based-on-a-7x7-sized-ArUco-marker-The-inner-marker-is-located_fig4_351864208) I was wondering, how the inner Aruco code cannot…
decades
  • 827
  • 17
  • 25
0
votes
1 answer

OpenCV ArUco Camera Calibration Not Working "Assertion Failed"

I'm trying to calibrate my camera with OpenCV, but it keeps returning this error: error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv_contrib\modules\aruco\src\aruco.cpp:1769: error: (-215:Assertion failed) nMarkersInThisFrame > 0 in…
Hudson Liu
  • 49
  • 9
0
votes
0 answers

OpenCV - ArUco: Pose estimation for rectangle-shaped markers

Does the cv2.aruco library support pose estimation of rectangle-shaped ArUco marker? I've found that cv2.aruco.detectMarkers detects the rectangle-shaped ArUco marker but cv2.aruco.estimatePoseSingleMarkers supports only square-shaped marker
0
votes
1 answer

Distance Error between two camera center by using pose estimation

First Pose Second Pose Two cameras are fixed to rod. Distance is constant between two cameras. These two cameras are not the identical, so they should not be considered as a stereo. I measure distance between two cameras center by using…
0
votes
0 answers

Image rotation and translation using an aruco marker

I am trying to warp an image based of the orientation of the camera relative to an aruco marker in the middle of the image. I have managed to get the translation part working but the rotation element is not working. It seems like the image isn't…