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

ArUco Movement Tracking

I'm trying to use ArUco to track the movement of an ArUco marker using Python. Does anyone have Python code for this or know where to get it? I already have code to track changes in the orientation of an ArUco marker, but for my project…
0
votes
1 answer

Why OpenCV 4.7.0 removed estimatePoseSingleMarkers()?

From OpenCV 4.7.0 appears that estimatePoseSingleMarkers() not longer exists in favor to SolvePnP() for Pose Estimation as stated in OpenCV documentation https://docs.opencv.org/4.7.0/d5/dae/tutorial_aruco_detection.html Is there any reason or I'm…
0
votes
1 answer

Having problems with OpenCV 4.7 and ArUco module

I have problems porting an old ArUco dectection code to work with newer version of OpenCV. I'm getting non-suitable user defined errors for getPredefinedDictionary() function of the ArUco module despite I'm using their provided method. So when ever…
user4110222
0
votes
0 answers

How to save a cv2.aruco.Dictionary object in a file and read it?

So I try to save a cv Dictionary in a file, because I access a the python function via Matlab and it always generates the same Dictionary when I call the function. So I want to safe the Dictionary in a file, where I can access it from python without…
0
votes
1 answer

with openCV / aruco, express rvecs and tvecs in a specific tag coordinate system

I am finding aruco tag in image, then do a pos estimation on a raspberry pi. minimal code might look like this : #include #include Ptr aruco_param() { …
SuperMouette
  • 345
  • 3
  • 13
0
votes
0 answers

OpenCV C++ detect_diamonds.cpp crashes during execution

I am trying to use the detect_diamonds.cpp example from OpenCV C++, but when I run the program, it crashes at the aruco::detectCharucoDiamond function and displays the following error message: before board.matchImagePoints(markerCorners, markerIds,…
张啸天
  • 1
  • 1
0
votes
0 answers

Creating Custom Charuco boards

I am working on some calibration project and i want to have have 6 mutually exclusive charuco boards, Opencv by default supports 4X4, 5X5, 6X6 , 7X7 and original dictionary. I want one more dictionary to create charuco board. Any Leads if opencv…
crazysra
  • 111
  • 10
0
votes
1 answer

AttributeError: module 'cv2.aruco' has no attribute 'detectMarkers' python

I'm using python and pycharm on a iMac. Line of code is: corners, _, _ = cv2.aruco.detectMarkers(img, aruco_dict, parameters=parameters) Error msg is: AttributeError: module 'cv2.aruco' has no attribute 'detectMarkers' I've looked every where and…
Rc3375
  • 41
  • 2
0
votes
1 answer

Aruco syntax in opencv has changed and I don't know how to access all the functions

I am writing a simple application (or at least so I thought) which is meant to utilize ArUco markers to detect a difference in height between two objects. However, during my tutorial hunt, I realized that previously used command: cv2.aruco is no…
0
votes
0 answers

Can I get location of Aruco markers on Rviz using aruco_ros?

Simulation on Rviz I have the robotic arm simulation like that, I want to localizate the environment using Aruco markers and aruco_ros package. I think that I will be able to get location data of arucos and press the buttons by writing Python code…
0
votes
0 answers

cmake aruco with predefined dicts for java

I generated the opencv v4.7.0 using cmake opencv sources opencv-contrib The jar and the referenced library are usable within the ide. This includes also the aruco module from opencv-contrib. Nevertheless the predefined dictionaries of aruco are…
leidenheit
  • 46
  • 9
0
votes
1 answer

python open cv aruco on macOS

import cv2 import cv2.aruco as aruco marker_dict = aruco.getPredefinedDictionary(aruco.DICT_4X4_50) parameters = cv2.aruco.DetectorParameters() cap = cv2.VideoCapture(0) while True: ret, frame = cap.read() if not ret: break …
0
votes
0 answers

How to detect Aruco marker and analyze my robot position

I have compete a KiboRobot Programming challenge. I need to move my robot to the point and shoot the laser to the target (Green Circle). But my problem is when I arrive infront of the point I don't know how to move my robot to float infront of the…
0
votes
0 answers

Why barcode detection success rate is dependent on hardware?

I am using the Aruco library in openCV(c++) to detect a big number of very small barcodes(80-120), using a camera to take frames in very high resolution and running Aruco detection algorithms on the frames. FPS is 18. If relevent, The barcodes…
0
votes
0 answers

how can I get angle of aruka mark?

I need to get angel of rotation Aruko Marker For example: x = 45* y = 56* z = 15 * I use one marker to orient the robot in space I am trying to use ArUco marker detection in OpenCV to calculate the angle of the marker compared to the camera…