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.post11.tar.gz (1.9 MB view details)

Uploaded Source

Built Distributions

pupil_apriltags-1.0.4.post11-cp313-cp313-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.13Windows x86-64

pupil_apriltags-1.0.4.post11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post11-cp313-cp313-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pupil_apriltags-1.0.4.post11-cp312-cp312-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.12Windows x86-64

pupil_apriltags-1.0.4.post11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post11-cp312-cp312-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

pupil_apriltags-1.0.4.post11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post11-cp311-cp311-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

pupil_apriltags-1.0.4.post11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post11-cp310-cp310-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

pupil_apriltags-1.0.4.post11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post11-cp39-cp39-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

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

Uploaded CPython 3.8Windows x86-64

pupil_apriltags-1.0.4.post11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pupil_apriltags-1.0.4.post11-cp38-cp38-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

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

Uploaded CPython 3.7mWindows x86-64

pupil_apriltags-1.0.4.post11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.6mWindows x86-64

pupil_apriltags-1.0.4.post11-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

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

File metadata

  • Download URL: pupil_apriltags-1.0.4.post11.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pupil_apriltags-1.0.4.post11.tar.gz
Algorithm Hash digest
SHA256 18980da3d3a341e94401cac341768dd453c992d9f0e19a9e6dfdd5c326ff46c4
MD5 b469d5031e13c9c0ca62ed0f6b502e40
BLAKE2b-256 b9d206ec5cd9ad9835ebd7e8f28b2a4c808215fca39e180dc4f95f26b98a45e7

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ada1154cd64bd86f39edd6bdd72d7371ded80ce2cde4a344d4fda2aab923db28
MD5 595515fa0fd65b0829a35bae5a91750e
BLAKE2b-256 4ae8f2d47f7257469570994857d2dc34ba5f8dd14fa2741215c2115333d8b5f9

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e5c46005e61233a44e912921aeddbe8ebf05ffcddadccd798a2f0b02a9524d7c
MD5 2425660e6b971f53aa6f2cb95d4eaeb5
BLAKE2b-256 36bf88aa37ba004d782a3c0537f975a36d05a3c7814465a55211d86c22594dc7

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 77d80f00a1c3972af90b2ac68e45dd001e816101ddedd9ce1af764125566c770
MD5 eaf972d7df67c97e355b7ff6711aa33b
BLAKE2b-256 f946fab76c4dc791ed9c42aff2938c6f5059959034207aa9cbbb584a2d89a0b6

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9c7401e008a2d0725167a08398764dd9b1a35085aad79e9ae8ea8b2e19f00c1e
MD5 d2e02609c5254ab77f60e3faddf56883
BLAKE2b-256 d2157dad87bbbdac51e2b7e6ed7c88bbdf4ac638631776a1b67a7ee93fad671b

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb7a4f1228b71dbb94ba26f16ffc6378cf86b6be8ebb7a4b7d3d4a48aa121916
MD5 224f3b6d761c4592e07d980be9823b4a
BLAKE2b-256 d4dd7c0dc064274a717a8f1306428e6c6bd86d8a285b959fea880351bb0f65db

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b5ebe9262fe07ff16fbdcbbde78e4b04b01e32da2ec148e10d129229a1e225a
MD5 870112767cfa300d5e4e88d92a8f2746
BLAKE2b-256 f098bb4ab70e6799b738008ddb8113f32713fec022c1988878b8381e8b373123

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6d717d1c9ca55a06e5610b109fc64cdd330e81d607b5cd6b0c87fb15f24dd80a
MD5 d725bec0f028606ca1d5b6d3ca4fb0d3
BLAKE2b-256 24c5b552c6c938d20cba0f83df2b19c9c99aed3ae9802d97f8f505b14753647f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 51ad21586be1900aafdb95438e208b25ae6a17da919f076e757e83991f2de83b
MD5 cfc74d9f74d6287677c4d35531e26eb1
BLAKE2b-256 c1a22bdede02648f892912bf37527ee3d86f41b164410f7f9a0f170beeec8b28

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bc517b68d18af2563b1769a1dbc44bb885d8251399fb62f2a7d3e2898b916ef1
MD5 ab7a50ce9f1331bd007e1e7c087ead8c
BLAKE2b-256 cfa4a536c2a1493fe1941d06418bc9e6d36d1d87326ed7ca0649094f1b18f8f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 386c7fbeaabec87c872ac52e10de3f4496fd4b4b87901480445b0c49213d9dc1
MD5 dae656f2e995a37aa3925bfb035e9031
BLAKE2b-256 97cf10cb5f46d9e09de40438878890d5887e0cd6aee3c35b514f5228ef68d5de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2fbc1da75650f0535041c30a0325e97711b4388466da82f90e364e0f597664e6
MD5 e4fea4703c3f8a2301f9a59f13b134c4
BLAKE2b-256 e8f827cff2d2a2267c78b45deda77676dcdf1b97c6708106febc82a85797a802

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 01416a4b2517fc3c178f7e83af4eb955769c95762fb03296df78d6f5a5947199
MD5 d18a3cc677973e8dc65151955c81ba6a
BLAKE2b-256 8a0e716a7e74e2429b5b71f555bf905706638bf62453c13910c52002305f92f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f9929b08e39973d256beecd69583e2508e0c84cb85845704b4d5c22f63cb26db
MD5 c02f17641fb4b54f8b4a93c62d4bc6d1
BLAKE2b-256 d744044fbe251ccb53f414e24ac72511d08d0a811b93bb63decc3f8d65f47f14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 69c289e923a9880fe3a618e8be8d40aa175bdacee168301ddf0673551a941349
MD5 44e5818d157c1782a219ff76e3ce724a
BLAKE2b-256 86bf1f27dbd1d5e52d69d603b05d619cb3c8cf7a7b87622b8c51375f0329db79

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee3acbe14ba9cc842b7640466c7faad909e7e068c2394e20a5b24bc0d13809ce
MD5 c5f6cbaff6c4f1719962225779d1613f
BLAKE2b-256 3ef57cabfd8cb80c493b3af2aa8e22048e6885370fae272afb26ac4b3eb10d94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 007f5ffd149a247fef75ebaf17bf4e7d302448ca373a9287758cbd34ff337c37
MD5 1ca34260c906598e07db6dddb35ca8d3
BLAKE2b-256 516fae6f40c6ad57e1a7172a7c30e38af1c5e4da2d674eeaa65f0b5787825c7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bafaf6a2b3bd34ad3dde1df410eeae91432dd5c308d407d3bb63cbec32c167c3
MD5 7734f5110501528b826b0d141de975c4
BLAKE2b-256 a0e554b5342140f2eb1eb262746d2336672a12a4bffc3e0d208633d2e829f1e7

See more details on using hashes here.

File details

Details for the file pupil_apriltags-1.0.4.post11-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b18063cc417052068ca7bd29abd862f14c5920bdb50dff1158d591dcfe6542e
MD5 ce8f4e6b7b42971fc581b8dc4c8f7b75
BLAKE2b-256 b7d6db5621916754ab492f5b275303e52ed55803fd2844c88a0da7eee1766648

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 bcb939c251deb9798c778e5ec19c3cab281484e99fa09c423f29756b0108eac5
MD5 7f91d2db419ee9df35eb96be93681462
BLAKE2b-256 e8dfb56c0647b6745dd11d7f114e70966533cd4502453544542670526749e1af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc1b0ccac45b14e71548c33aefd6ea063db17844e80d6b4ff1a8316fc23cc6b6
MD5 39965ba00dc049f1d6e19a6451a27b79
BLAKE2b-256 e58773dc62f4d6b46f7abd7f0d8d6b13f5206238443577d47919b81460c0c46a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 971d2301ffd863d04ead011e9131c6cfc3c41182098edec8dce6598a567be824
MD5 c3a19ddd9b69a37e237dfc18c5e07d42
BLAKE2b-256 599e31a509ff7e1cb92d79212dd567c46507c67a3fb79c89e26dffec1c4d7070

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pupil_apriltags-1.0.4.post11-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b9acd798e791100792f3343e1fc32bbe70fc460fe0e2d82555ad865f0bab78b
MD5 4f1dc451643adb29ad6e8005eb844eb8
BLAKE2b-256 c5bfc4cce87a2c9e0bddee4ac735fc57f5974a70f506b6e20fdc0004b783aa4a

See more details on using hashes here.

Supported by

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