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.
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.
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
aprilgrid-0.3.0-py3-none-any.whl
(12.5 kB
view details)
File details
Details for the file aprilgrid-0.3.0.tar.gz
.
File metadata
- Download URL: aprilgrid-0.3.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59e1371d6bdb3d24f6cae496cc1c5458d6723e6cf5685ae58f2b3be3421ef727 |
|
MD5 | f51b7607c9377ab801d6a31e8f80467e |
|
BLAKE2b-256 | e355d051d3d8114fc1924783c5f3f7668213274e90beea240361954deaefee7c |
File details
Details for the file aprilgrid-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: aprilgrid-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17c03c063a7afb449cac3bd8783c1c7fdab6e3e5fc3d0b0d6c5a9a6a3fc3b4ac |
|
MD5 | 3ae2a74da204626bff008c4f43c63417 |
|
BLAKE2b-256 | a18a627212bb45ef55bedc15a3478d5b66a3c2beb440ce2b62760109cbff9841 |