Skip to main content

Python bindings for apriltags v3

Project description

https://img.shields.io/pypi/v/pupil-apriltags.svg https://img.shields.io/pypi/pyversions/pupil-apriltags.svg tests Code style: Black https://readthedocs.org/projects/pupil-apriltags/badge/?version=latest https://img.shields.io/badge/skeleton-2022-informational

pupil-apriltags: Python bindings for the apriltags3 library

These are Python bindings for the Apriltags3 library developed by AprilRobotics, specifically adjusted to work with the pupil-labs software. The original bindings were provided by duckietown and were inspired by the Apriltags2 bindings by Matt Zucker.

Install from PyPI

This is the recommended and easiest way to install pupil-apriltags.

pip install pupil-apriltags

We offer pre-built binary wheels for common operating systems. To install from source, see below.

Usage

Some examples of usage can be seen in the src/pupil_apriltags/bindings.py file.

The Detector class is a wrapper around the Apriltags functionality. You can initialize it as following:

from pupil_apriltags import Detector

at_detector = Detector(
   families="tag36h11",
   nthreads=1,
   quad_decimate=1.0,
   quad_sigma=0.0,
   refine_edges=1,
   decode_sharpening=0.25,
   debug=0
)

at_detector.detect(img)

See the API reference documentation for details.

Manual installation from source

You can of course clone the repository and build from there. For development you should install the development requirements as well. This project uses the new python build system configuration from PEP 517 and PEP 518.

# clone the repository
git clone --recursive https://github.com/pupil-labs/apriltags.git
cd apriltags

# install apriltags in editable mode with development requirements
pip install -e .[testing]

# run tests
pytest tests/

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

pupil_apriltags-1.0.4.post10.tar.gz (1.9 MB view details)

Uploaded Source

Built Distributions

pupil_apriltags-1.0.4.post10-cp311-cp311-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.11 Windows x86-64

pupil_apriltags-1.0.4.post10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post10-cp311-cp311-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pupil_apriltags-1.0.4.post10-cp310-cp310-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.10 Windows x86-64

pupil_apriltags-1.0.4.post10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post10-cp310-cp310-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pupil_apriltags-1.0.4.post10-cp39-cp39-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.9 Windows x86-64

pupil_apriltags-1.0.4.post10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post10-cp39-cp39-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pupil_apriltags-1.0.4.post10-cp38-cp38-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.8 Windows x86-64

pupil_apriltags-1.0.4.post10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post10-cp38-cp38-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pupil_apriltags-1.0.4.post10-cp37-cp37m-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.7m Windows x86-64

pupil_apriltags-1.0.4.post10-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post10-cp37-cp37m-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

pupil_apriltags-1.0.4.post10-cp36-cp36m-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.6m Windows x86-64

pupil_apriltags-1.0.4.post10-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post10-cp36-cp36m-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file pupil_apriltags-1.0.4.post10.tar.gz.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10.tar.gz
Algorithm Hash digest
SHA256 99315738544dad9720621d3abf23bd6ae4753c044ee2f31e3c379c0e36395af8
MD5 070b5ad0bcb946aec478469cabd60e9b
BLAKE2b-256 943138868751e5837b27089e07a20a1e9fce3038f7baf2d29df949b5d4dc3c51

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4f501d48013e89b7050e6379f78a341058e92c28c4945f6cd7bb7583f3423731
MD5 6643ed592d339575217fe13eb182355c
BLAKE2b-256 2dc5f47871e2456b6aa12de760138a46a10264a355e2bfcf94e9294369662c8a

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c12402a54cef0d88cc7ff00225e486f2daa66779bbe63c796734810cca7eae8
MD5 b0ee0bcec5ac99dd6a32b544b3385606
BLAKE2b-256 90be3c42295627804091ea84687ef4cbfbb1b83dddf89f8594fe95ca5ce90fc3

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1661aba78e34f129e2e5a7c56424d2939fcc29c414cc6d1df07706e01eaadadd
MD5 25162c961a7c875c8b0fa00778ee736b
BLAKE2b-256 d1cb61fb2b07be0477415cc35758a296ba270c7976a9de72697f9faf994a2961

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ed7201e532f2d96795f9dc8d03ded5d89c2c6e261fa1c8883fda889c92428b23
MD5 f76c613902c37682239d9687bda63bd8
BLAKE2b-256 116a43bc31b64b28bc1f3f8233c3b319040ea7269dae3f6c3b4ec767b8f37d03

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 894dcfc5a8ee8fa5b41a1bc9baf9fdc77d6c7f9b2d4242a900999aeecd92f7ef
MD5 e43a703cd9f5ce006d4dd2478ceba894
BLAKE2b-256 0e7fd6d0892f5ce9ea811e823c8a579765333e627aa964c335f2853bdfb88817

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6141aed794fe77923c90c100c799aa40270d1ff65fe9c107a2211ea889c0cd1b
MD5 9400b76e508316d75addce02734954ed
BLAKE2b-256 532e6dd335056ad8e68ad3c3f674558392c9a890c73c7b3ebbbc11b09dd15988

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d2aaaad3b6fe3d10c227a66894ca9165f766ad8b4d0fc6c6a1295b2be7ea04d1
MD5 93f2b9b91454a60cd4bcccf3b2a5177f
BLAKE2b-256 13535091c5a97048e71278fdac0002deaaa74392e1807929c224eec09f383a5e

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6941eddb86faadcaf9154b0eab752e10277a681dde9b38e7a1f026163f32222d
MD5 75a579b349dadf573b08a6f8bac26efe
BLAKE2b-256 330c64093d9eaddfa5e0242b78524c955c05daa59f3a681ca70a02157613a350

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 465d4f60d5cbaff121489965a77454036a40597de914065ce248ffa2cb2d97a4
MD5 7c6f36f6ff5ff544851086b5468e9718
BLAKE2b-256 1deaa7e75fe5219c48a7a54a6674c82300bdf37eb379ab842eca554f7def11bb

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9c5dd988b4a3809bdd0f9f406e2f544dc9e7814ded9eac8f64d30c9f71fb3bcf
MD5 61f021014a3f5ee07e89da900ec32081
BLAKE2b-256 ad25bb5851ae69bd5f3e0d04a4225f7e08afd670591a4ba8508fa748f55440d6

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5a7cc91450c28671df1a4928ab3f6471da91aedd049669fa6e1b07282635b86
MD5 00611f3f7cdbdd4540a2cf039549e085
BLAKE2b-256 0cfad86231c418cd155411c7e92fa9985182eafe93db7b18f0ef8bb241c85044

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c0c80039d59286e58d97a5aad82aeedafd6cf8f13e2f5f9cdca0a59fdbac1b0d
MD5 56134bee2a43b334939f8660a736ae11
BLAKE2b-256 7d91b73fa72af2d1a7e40f2c8c5e2e3b5815fc3d63ba5d3586c916a50a7ee90c

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 96707f66ff7b69e3c8f35df456d69d1c9cf122a382f1a06a828f7046a6fc0680
MD5 e751c5d90fa48018f2945751f063d0d1
BLAKE2b-256 27282c0a7182a4bcf0fb167adfc6c1d432c4b9b2e47d19de3ea26528f0468540

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b4e27806fb18a220712442cb64adafc2bfcd76063dd425d8c4f69e798d6c8401
MD5 a0bbe971f2d8c13caa72a5bd0e22880b
BLAKE2b-256 f5b5f22bd6a01c7e5084a3c426a483a184a703439ce845e88452f921562a0e3f

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 00884178be41097bf5a7ac8a67068b44d3e136b95264e076cb2a539d5d64e38b
MD5 60df8e09c5794e5c3ff8b67e984a2f6f
BLAKE2b-256 f00e268366610cadaabafe22faf354b42ffb7a5962941bfa8a225db5937ec5d7

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 f55b3dc47526a1df021fd20908bc830130d4daa73b4a98ed17b1a463a686baef
MD5 eab454fdc36885eb2d77717319b4d28d
BLAKE2b-256 b634732e8b62339b1e5563a84377685eedd5c085cb7e69be8101f4ca3eb31242

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a14a674a88642dd6255236a8adf7a884f2cd05f163e1fd90d03924073b3b00f7
MD5 b32dfe1495418e302e886b7f2bcb7a30
BLAKE2b-256 932c54247a3e0769d3d801fca641d4c9b61c1975bda8fc483b4851ccc10504e1

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post10-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post10-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f285bd8a5e2dac58d20575235d6ea84f1e9b1be3881743f0be113bf67ac348b2
MD5 a7902d50ad063d89a2d8ec0b7cc97fcf
BLAKE2b-256 df084cbb07125a52b8e0402fafc15298e036d1b9ab7fd6a4aefc292217354d42

See more details on using hashes here.

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