Skip to content

Shohruh72/Aruco-Pose-Estimator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aruco Pose Estimator

This Python application uses OpenCV to detect ArUco markers and estimate their 3D pose relative to the camera.

Vizualization

Table of Contents

  1. Features
  2. Installation
  3. Usage
  4. Generating

Features

  1. Detects ArUco markers in real-time video feed.
  2. Estimates the 3D pose (orientation and position) of the markers.
  3. Calculates and displays the pitch, yaw, and roll of the detected markers.
  4. Estimates the distance from the camera to the marker.

Installation

To run this project, you need to have Python and OpenCV installed. You can install OpenCV via pip:

$ conda env create -f environment.yml
$ conda activate xvision

Usage

Clone this repository to your local machine. Modify the camera_matrix and dist_coeffs variables with the camera calibration parameters specific to your camera. Run main.py:

python main.py

Generating Compatible ArUco Markers

To generate compatible ArUco markers, you can use the provided marker_generator.py script. To run the script:

python marker_generator.py

By default, this will generate an ArUco marker using the 6x6_250 dictionary. You can modify the aruco_type variable in the script to generate different types of ArUco markers.

The program will open a window displaying the real-time video feed with the detected ArUco markers(cv2.aruco.DICT_6X6_250). To stop the program, press 'q'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages