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

Cant install Aruco library in pycharm

i uninstal cv2 and download other version of cv2, and after aruco library delited too ind i cudnt install it back. I used: pip intsall aruco and tryed to install aruco library via Project interpretiter, but got that message: Collecting aruco Using…
0
votes
1 answer

OpenCV ArUco markers, how to get the center of them?

I'm using ArUco markers and I'd like to get the coordinates of the center of a marquer. This method detectMarkers() followed by the drawDetectedMarkers() draws the Id of the marker. It looks like the bottom left pixel of the word "Id" is placed in…
0
votes
0 answers

Real Distance of object from camera using camera matrix

How can I calculate the distance of an object of known size (e.g. aruco marker of 0.14m printed on paper) from camera. I know the camera matrix (camMatx) and my fx,fy ~= 600px assuming no distortion. From this data I am able to calculate the pose of…
0
votes
1 answer

How to get the camera rotation? (Aruco Library)

I've been trying to understand the output of the aruco_test.cpp program that is included when you download the Aruco Library. The output has this format: 22=(236.87,86.4296) (422.581,78.3856) (418.21,228.032) (261.347,228.529) Txyz=0.00813142…
user6544783
0
votes
2 answers

Undefined reference to aruco functions

I'm trying out the ArUco marker detection in a Qt GUI project and so far I keep getting the error message undefined reference to cv::aruco::getPredefinedDictionary(cv::aruco::PREDEFINED_DICTIONARY_NAME) I'm following the steps here I've tried…
Shironats
  • 137
  • 6
0
votes
1 answer

ArUco Marker Detection behavior in different cases with noisy object in background

Python Version: 3.7 OpenCV Version: 4.1.1 / 3.4.X Mobile Phone: Asus Zenfone Max Pro M1 Initial Setup Screenshot of plotted image Dictionary used : cv2.aruco.DICT_ARUCO_ORIGINAL . Aruco Parameters [Edit 9th Dec, 19]: parameters =…
0
votes
0 answers

Drawing ArUco's pose axes to wrong place

I am working on image processing project that detects ArUco markers and doing somethings according to those. When there is only one marker in the video or image everything works fine, but when I put another marker, the second ArUco marker's pose…
0
votes
1 answer

Why does it say "Name 'gray' can be not defined"?

This program was written by the co-op student before me at the company I am currently working for. The project is to make a smart car kit [Kuman SM11] drive by showing the computer webcam different images. In other words, autonomous driving where…
ChristosL
  • 1
  • 1
  • 1
0
votes
0 answers

How can I calculate the yaw of arUco marker?

I'm trying to use arUco marker detection in openCV to calculate the angle of a marker in comparison to the camera's plain. what's important to me is what angle the marker is rotated in accordance to the camera X-Y plain. EDIT: changed the pictures,…
Dan Sheinin
  • 59
  • 10
0
votes
1 answer

Easiest/most robust to detect shape for OpenCV for Intersection over Union of two objects

I am trying to measure the precision of my marker tracking algorithm via post-processing a video. My algorithm is: Find a printed planar marker in a Videostream and place a virtual marker at that position. I am working with AR. Here are two frames…
0
votes
0 answers

Do we need a .yml file in our phone by Aruco Marker?

I am using the Aruco Marker for iOS version, but I could not detect any of markers since there is no file called camera_parameters.yml on my phone. I read the documents since we use a camera instead of images, we need to make .yml file to detect the…
0
votes
1 answer

opencv aruco.h not found windows 10 visual studio

Hy I'm trying to run OpenCV and Aruco on windows 10 with visual studio 2019, no problem with installation of opencv and contribs using cmake and then build, and I've C:\openCV\build\install\x64\vc16\bin\opencv_aruco411d.dll library , On…
Etantonio
  • 359
  • 1
  • 5
  • 13
0
votes
1 answer

Using Aruco markers (OpenCV) to map camera pose to SceneKit

Trying to map the camera position from Aruco tracking back to the camera position in SceneKit. It's almost working but the tracking is really unstable and it appears the conversion to the SceneKit camera pose is incorrect as it's floating over the…
d0n13
  • 942
  • 7
  • 20
0
votes
1 answer

Ambiguities in ArUco marker codes

I noticed that the two websites (http://chev.me/arucogen/ and https://tn1ck.github.io/aruco-print/) for generating ArUco markers have different outputs for 5x5 size and maybe others. How is this possible?
Cindy Almighty
  • 903
  • 8
  • 20
0
votes
1 answer

How draw an object (like a pane or cube) on a detected marker with aruco?

I used Unity with OpenCVSharp, and I have detected markers with the function CvAruco.DetectMarkers(...) so obtaining markerCorners. I want to create DYNAMICALLY an object on this detected marker using the markerCorners as coordinates, is it…