Skip to main content

Pure python version of aprilgrid.

Project description

Aprilgrid

Pure python version of aprilgrid

Inspired by Apriltag and Kalibr. There's lot of existing python binding of apriltag. But as everyone knows, python binding causes a lot of issues. So I rewrite a pure python version of apriltag and it's also able to detect aprilgrid.

Slow down for show case.

Install from PyPI

pip install aprilgrid

Usage

Some examples of usage can be seen in the example/main.py file.

from aprilgrid import Detector

detector = Detector("t36h11")

detector.detect(img)

Kalibr uses 2 bit black border while apriltag3 uses 1 bit black border for each tag. The default of aprilgrid follows Kalibr. Please use t36h11b1 if you're using tags with 1 bit black border.

Slow down for show case.

Development

git clone https://github.com/powei-lin/aprilgrid.git
cd aprilgrid
pip install -e .

TODO

  • Add output for opencv calibrate camera.
  • Provide pregenerated pdf and easy way to customize.
  • Support all tag families.
  • Accelerate and multi-threading.
  • Robustness.

Reference

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aprilgrid-0.3.0.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

aprilgrid-0.3.0-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page