Skip to main content

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

Metadata

Release files for aprilgrid 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aprilgrid 0.5.0
File Size Uploaded Provenance Actions
aprilgrid-0.5.0.tar.gz 12.6 kB Without provenance Details for aprilgrid-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aprilgrid 0.5.0
File Interpreter ABI Platform Actions
aprilgrid-0.5.0-py3-none-any.whl Python 3 none any Details for aprilgrid-0.5.0-py3-none-any.whl

Total release size: 25.4 kB

Release files / aprilgrid-0.5.0.tar.gz

Download URL aprilgrid-0.5.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d928c84417ffafabac6be4cf1fa223ce6d735a7e4710b3a452f136918d09169d
BLAKE2b-256 checksum
How to use checksums
4b763bfe234fb35527a15efb273dcdee49dbee7c98600d14bbbaf28980deeb2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / aprilgrid-0.5.0-py3-none-any.whl

Download URL aprilgrid-0.5.0-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52e3aa4de23cb5c67edd1610897be095ac46d563f282a98cd2ad7f7bf75e9181
BLAKE2b-256 checksum
How to use checksums
2be1d3a77ef009d17c8b192a6014aa267b7c94c9bc2163eddc41fe1a71ac568d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for aprilgrid 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page