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

Why the ArUco Marker Detection gives strange and counter-intuitive results?

I am using a simple ArUco Marker Detection Program which has as input images or videos and as output rotational(angles w.r.t 3D axis) and transformational(position w.r.t 3D axis vectors). The program is mainly based on the following 3…
1
vote
0 answers

Adding ArUco to Visual Studios community 2017

I'm having problems implementing the aruco library to visual studios. I have already added OpenCV 3.2.0 without any problems. I have tried by downloading the newest aruco package (2.0.19) and the aruco package you can install via package manager…
1
vote
2 answers

Aruco Function estimatePoseSingleMarkers() Error

I have a problem running the following code: Mat cameraMatrix, distCoeffs; cameraMatrix = (Mat1f(3, 3) << 462.71, 0, 338.630, 0, 465.97, 177.780, 0, 0, 1); distCoeffs = (Mat1f(4, 1) << 0.133013, -0.322199, -0.001524, 0.004866); //skip Mat…
Woody1084
  • 11
  • 1
  • 3
1
vote
1 answer

Has anyone used aruco with unity for marker tracking?

At the moment I'm trying to use OpenCV's aruco library with Unity. So far I've been looking at; https://github.com/enormand/aruco-unity - I'm struggling to use CMAKE here. CMAKE keeps throwing the error; "project files may be invalid". No…
Samantha Jones
  • 121
  • 2
  • 11
1
vote
1 answer

QT C++ - Marker based augmented Reality

I'm detecting markers by using aruco; std::vector ids; std::vector > corners; cv::aruco::detectMarkers(image, dictionary, corners, ids); if (ids.size() > 0) …
1
vote
0 answers

Unable to start UDP GStreamer Pipeline via OpenCV and Aruco

I'm trying to use opencv via aruco to read an UDP-Stream via Network on Ubuntu 14.04 LTS using OpenCV 3.1.0 and Gstreamer 1.2.4. I changed the code of the "aruco_simple.cpp" Example file to accomplish that, by changing the parameter of the…
deetz
  • 491
  • 1
  • 7
  • 20
1
vote
3 answers

Aruco tutorial code does not compile

Hello I am getting an error when using aruco. I am just trying to get an example from the tutorial working. I did everything according to the tutorial but I get: /home/pi/Programs/markerDetection/markerDetection.cpp: In function ‘int main(int,…
Martinator
  • 176
  • 2
  • 8
1
vote
1 answer

OpenCV 3 and ArUco lib - Serialize Dictionary

as the title, I need to serialize to file a custom created dictionary from arUco library using OpenCV 3.x (the version 3 is strict). Second step is to load again the dictionary from file. I could not find examples online or had a partial…
N Dorigatti
  • 3,482
  • 2
  • 22
  • 33
1
vote
1 answer

OpenCV3.0: How to detect normal marker using ArUco library

I implemented ArUco module in opencv3.0 it works completely fine while detecting aruco markers. For aruco marker detection i am using this image But is it possible to detect normal markers like this below image using aruco module? Here is some…
MarKS
  • 494
  • 6
  • 22
0
votes
0 answers

interpolateCornersCharuco dose not find any corners, ids

I found this code somewhere, but it isn't working for me. In my example picture it detects and draws the markers, but interpolateCornersCharuco dosen't work. ARUCO_DICT = cv2.aruco.DICT_4X4_50 SQUARES_VERTICALLY = 8 SQUARES_HORIZONTALLY =…
Bene_Paul
  • 1
  • 1
0
votes
0 answers

Use cv2 aruco marker pose estimation to get camera position in vtk

I am trying to find a camera position based on the cv2.aruco.estimatePoseSingleMarkers function. I have placed a marker on a real object of which i also have an stl. The Marker is placed on a position such that if i load the stl into vtk the…
0
votes
0 answers

OpenCV ArUco Pose Estimation with Cozmo Robot

I have a Cozmo robot that navigates in a flat surface. The robot has a camera that detects ArUco markers and I use openCV functions to estimate the pose of the center of these markers. In the end I obtain a rvec and a tvec vectors. One thing I want…
Ginja9975
  • 1
  • 1
0
votes
1 answer

how to estimate pose of single marker in opencv-python 4.8.0?

As shown in this Question There are API change for aruco package. I managed to detect the markers and drawDetectedMarkers by following accepted answer but I can't find 'estimatePoseSingleMarkers' in both cv2.aruco and cv2.aruco.detector…
M lab
  • 224
  • 1
  • 10
0
votes
1 answer

AttributeError: module 'cv2.aruco' has no attribute 'interpolateCornersCharuco'

I'm working on a python script to do pose estimation using charuco board (https://docs.opencv.org/4.x/db/da9/tutorial_aruco_board_detection.html). I can already do it with single aruco marker, with some trouble with the documentation :/. Now I would…
0
votes
1 answer

Getting points in 2D plane under perspective by real distance using Aruco marker

I have ruler which is included on the picture below. The dimensions of the marker, color checker and space between the marker and the color checker are known. The problem is how to compute position of the color checker's corners (C1-C4) from the…
Matej
  • 782
  • 2
  • 6
  • 19