Giter VIP home page Giter VIP logo

aruco_marker's Introduction

aruco_marker

This application utilizes OpenCV to generate and detect ArUco markers of various sizes, and to estimate their 3D angles relative to the camera.

Vizualization

Overview

The program is designed to perform the following tasks:

  1. It generates ArUco markers, with the option to select the marker type.
  2. It detects ArUco markers in real-time and estimates their 3D pose, including both orientation and position.
  3. It calculates and displays the pitch, yaw, and roll angles for the detected markers.
  4. It estimates and presents the distance from the camera to each marker.
  5. Optionally, it preprocesses (either blurs or distorts) the generated ArUco marker if not in real-time, then returns to step 2.

Installation

To install the required packages, run the following command:

conda env create -f environment.yml
conda acrivate aruco

This will create a new conda environment called aruco and install the required packages. You can activate the environment by running conda activate aruco.

Usage

To estimate the 3D angles of the distorted ArUco markers in real-time, run the following command:

python aruco_realtime.py

The program will launch a window that shows a live video feed, within which it will highlight detected ArUco markers. Plese modify the camera_matrix and dist_coeff variables through calibrating your own camera parameters. You can just press the 'q' key to terminate the program.


To generate ArUco markers, run the following command:

python aruco_generator.py

Please modify the aruco_type variable in the script to generate different types of ArUco markers.


To preprocess(bluring and distorting) the generated ArUco markers from recorded .avi, run the following command:

python aruco_preprocess.py

To detect ArUco markers and estimate their 3D angles from preprocessed ArUco markers, run the following command:

python aruco_pose_est.py

aruco_marker's People

Contributors

rebedy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.