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

Compiling specific lines of code depending on the version of other libraries (C++)

I am writing code to detect Aruco markers in C++ using OpenCV. OpenCV has different ways of calling the Aruco detector in version 4.2.0 as compared to newer versions like 4.7.0. Is there a way where I can check what version of OpenCV the user has…
NOVA1323
  • 69
  • 8
-1
votes
1 answer

'aruco' submodule for opencv-contrib-python not found

I'm trying to use opencv's aruco library for a project and when I donwload opencv-contrib-python using 'pip install opencv-contrib-python' the aruco submodule doesn't show up. I've made sure that 'opencv-python' is not installed (because I know…
-1
votes
1 answer

Opencv Charuco Calibration board

I have an issue with the Charuco calibration. I have a large pre-printed board lying around that i would like to use, but my calibration results are useless. When generating my own board, I found out that it is using the correct markers but that the…
Phil333
  • 19
  • 1
  • 7
-1
votes
2 answers

I cannot import python Package Aruco from OpenCV

I have a problem with installing the opencv package aruco. Im using Windows 10 and pycharm as IDE. I already tried the following things: using 2 different python versions (3.10/3.6) pip install opencv-python pip uninstall opencv-python pip uninstall…
-1
votes
1 answer

Problem with Aruco markers detection using Python

I try detect Aruco codes on images. I'm working at Jupyter Notebook in Docker, so I working with images, not videos and do not have access to some functions (for example cv2.imshow('QueryImage', QueryImg) ) Based on code:…
sosnus
  • 968
  • 10
  • 28
-1
votes
1 answer

Aruco Marker detection ist not working with dark background

I'm trying to detect Aruco markers with a drone camera. Now at first try it was successful and the detection worked from 40-50 m above the ground. Yesterday I printed some other Aruco Markers. But now it's not working with these new printed…
-1
votes
1 answer

Problem with CvBridge and ArUco opencv modules combined with ROS kinetic in ubuntu 16.04

I'm working on a project with a drone, which has its drivers that only work with ROS kinetic, this limits me to ubuntu 16.x and ROS kinetic. I use python 3.5 but when I try to convert the images from sensor_msgs/Image type extracted from the ROS…
-1
votes
1 answer

Build aruco 2.0.5 on Windows 8

I am trying to install aruco on my Windows machine using cmake 3.5.2 as suggested by the aruco developper. My config: Windows8 CMake 3.5.2 ArUco 2.0.5 I can configure and generate successfully aruco in cmake. Then I go to aruco\build -> right…
guiiigz
  • 5
  • 7
-2
votes
1 answer

NameError: name 'getCornerInCameraWorld' is not defined

I am working with VSCode 1.68.1, Ubuntu 20.04. I am following link: https://courses.ece.cornell.edu/ece5990/ECE5725_Fall2020_Projects/Dec_21_Demo/Drawing%20Robot/eam348_mm2994_W/index.html from unittest import result import numpy as np import…
Manpreet
  • 43
  • 1
  • 6
-2
votes
1 answer

How can I get rid of NoneType error in my OpenCV code

I'm trying to work with ArUco markers using OpenCV in python. vidcap = cv2.VideoCapture(0) vidcap.set(cv2.CAP_PROP_BUFFERSIZE, 1) c = np.array(np.zeros([9,4,2])) while vidcap.isOpened(): exists,image = vidcap.read() if exists: image =…
JIRAIYA
  • 1
  • 2
-2
votes
2 answers

How to delay in c++?

I am working on a rehabilitation application that relies on four ARuco markers,i need to draw on the four markers in the exercise sequence i.e. the object appears on the first marker, when the patient's hand reaches the object, it moves to the next…
M_Mohy
  • 1
  • 1
-3
votes
1 answer

Capture the small arUco marker

I have a problem when I detect a small pixel (length and width both both are smaller than 0.4 cm) of aruco marker. Is there anyway to solve this problem by Android Java? Image of my aruco
Jim
  • 91
  • 2
  • 12
-3
votes
1 answer

C++ weird syntax spotted in Aruco codes

I have found strange syntax in some of Aruco files: vector< cv::Mat > thres_images(n_param1); Seems like thres_images is function, but if yes then what is vector< cv::Mat > in front of it? It is not declaration nor definition. Later it is used as…
Wakan Tanka
  • 7,542
  • 16
  • 69
  • 122
-3
votes
2 answers

Retrieve cout, pass into str

In ARuco, a marker is a custom class. Using the line: cout< The following example could be output: 185=(61.277,163.281) (186.9,174.062) (182.589,293.509) (55.8044,296.465) Txyz=-999999 -999999 -999999…
1 2 3
21
22