Skip to main content

Pure python version of aprilgrid.

Project description

Aprilgrid

Ubuntu Build Status

Pure python version of aprilgrid

Inspired by Apriltag and Kalibr. There are lots 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.5.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aprilgrid-0.5.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file aprilgrid-0.5.0.tar.gz.

File metadata

  • Download URL: aprilgrid-0.5.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for aprilgrid-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d928c84417ffafabac6be4cf1fa223ce6d735a7e4710b3a452f136918d09169d
MD5 69e5ed34c450856a312a8705c4fb0865
BLAKE2b-256 4b763bfe234fb35527a15efb273dcdee49dbee7c98600d14bbbaf28980deeb2f

See more details on using hashes here.

File details

Details for the file aprilgrid-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: aprilgrid-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for aprilgrid-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52e3aa4de23cb5c67edd1610897be095ac46d563f282a98cd2ad7f7bf75e9181
MD5 388aeaf21c4f33791bae41ca4310100a
BLAKE2b-256 2be1d3a77ef009d17c8b192a6014aa267b7c94c9bc2163eddc41fe1a71ac568d

See more details on using hashes here.

Supported by

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