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

TypeError: an integer is required (got type str) in python

I am working with OpenCV ArUco in Python. I am trying to generate multiple codes of different directories. To generate it in a single time I am using this function in a loop. For example list1 =[1,2,3,4],comb = [50,100,250,1000],ids =…
Mahesh Gupta
  • 135
  • 1
  • 13
1
vote
1 answer

About aruco error import 'cv2.aruco' error on python3.5

I get an error like the following. traceback (most recent call last): File "test_sensor.py", line 97, in detector = ArucoDetector(sensor.camera, data["detector_layout_path"]) File…
hello_nezumi
  • 35
  • 2
  • 9
1
vote
2 answers

No module named 'cv2.aruco'

I have a bit of a problem when trying to use Aruco on Raspberry Pi 3. I am using Python 3.5 on headless version of Raspbian and I followed this tutorial to install OpenCV with opencv_contrib - which as far as I understand contains all the…
Irek
  • 187
  • 2
  • 12
1
vote
0 answers

The order of multiplication during coordinate transformation using homogeneous transformation

I'm doing a tool tracking project using ArUco QR code tracking. I'm a bit confused about the order of multiplication of homogeneous matrix when I do frame transformation. I cannot locate where I am making mistakes at, so please try to look for any…
1
vote
1 answer

How Can I read the Aruco Markers in a a bitmap image in C#?

I have a bitmap image of multiple aruco markers. I need to just output the number of markers that can be read from the image. I have looked all over, but am not able to find a good way to do this in C#. I know this can be done in C++, but can it…
Toby
  • 141
  • 3
  • 12
1
vote
0 answers

stability of AruCo markers

I am using 3 AruCo markers of size 1cm each for head pose estimation in C++ using OpenCV library on live webcam stream. I am able to detect the markers and their pose accurately but had issues with stability of the pose. I used the function…
adi1992
  • 75
  • 11
1
vote
1 answer

Object is wrong displaced in AR (Aruco + OpenGL)

I try to make simple AR program. I use Aruco(OpenCV) and OpenGL but my program is little wrong. When I move camera, the cube is move and draw wrong place. I upload sample image ]1 and ]2. I hope the cube is always drawn in center of marker. My…
1
vote
1 answer

Set Aruco coordinate system

Hey there I work with the aruco library and with ROS thus I currently use this code: https://github.com/joselusl/aruco_eye I have this output(x pointing right, y out of the image and z down) What I basically want is: x pointing right, y up and z…
sqp_125
  • 538
  • 6
  • 21
1
vote
1 answer

What image encoding does Aruco expect?

My application receives camera images which can have a bayer_rggb8 encoding. Do I need to convert these images to bgr8/rgb8/mono8? Or can Aruco detect markers in bayer-encoded cv::Mats? I'm using Aruco 3.0.10. Below is the function I'm using. …
Laurenz
  • 1,810
  • 12
  • 25
1
vote
0 answers

How to interpret the rvecs with aruco

I have read some of your articles and they have helped me a lot to know the ins and outs of computer vision. I have a question about a vision issue and I would like to consult with you to see if you can answer me. I have calibrated my camera, and…
1
vote
1 answer

Good ArUco Marker Detection in DICT4X4 but not in DICT5x5

I am trying to detect ArUco Markers to recognise some real moving objects, to write my Degree Thesis. Fisrt, I tried with some 4x4 ArUco Markers, i got good results, then i tried with an image that i got from my camera. This image contains 5x5 ArUco…
Alejandro
  • 31
  • 1
  • 6
1
vote
1 answer

fiducial mapping with ROS Kinetic Kame

I am currently working with the ROS package fiducial_slam. I get the positions and orientations of the ArUco markers. Is it possible to create a map, so that I can still see the markers in rviz, when I move my camera away? I am looking for…
Micha90
  • 11
  • 2
1
vote
2 answers

OpenCV Aruco Markers are not recognized on industrial cameras

I'm working on detection of ARUCO markers on an industrial Automation Technology C2 cameras that are designed to detect laser fringe in triangulation scanner but they can also capture images. My problem is that the same markers are detected…
Piotr Siekański
  • 1,665
  • 8
  • 14
1
vote
1 answer

Aruco Ros Convention of Rotation Vector (Rxyz)

Aruco Ros prints tag id followed by keypoints, Txyz (Traslation) and Rxyz (Rotation). Rxyz has 3 angle in rad. Which angle does it represents? Is it euler angle? If yes then, out of 6 intrinsic and 6 extrinsic convention which one does it follow? Is…
1
vote
1 answer

questions about using the detect_markers.cpp with opencv aruco?

i am using the detect_markers.cpp from the opencv website for detect the pose of markers using camera. after compiling with no error i got this, so how do i input the parameters?http://docs.opencv.org/3.1.0/d5/dae/tutorial_aruco_detection.html /* By…