Skip to main content

Apriltag

apriltag marker detection based on https://github.com/swatbotics/apriltag

Dependencies

  • OpenCV (optional)

Example

import apriltag
import cv2
img = cv2.imread('apriltag_foto.jpg'.cv2.IMREAD_GRAYSCALE)
detector = apriltag.Detector()
result = detector.detect(img)

result is in the form of

[DetectionBase(tag_family='tag36h11', tag_id=2, hamming=0, goodness=0.0, decision_margin=98.58241271972656, homography=array([[ -1.41302664e-01,   1.08428082e+00,   1.67512900e+01],
   [ -8.75899366e-01,   1.50245469e-01,   1.70532040e+00],
   [ -4.89183533e-04,   2.12210247e-03,   6.02052342e-02]]), center=array([ 278.23643912,   28.32511859]), corners=array([[ 269.8939209 ,   41.50381088],
   [ 269.57183838,   11.79248142],
   [ 286.1383667 ,   15.84242821],
   [ 286.18066406,   43.48323059]])),
DetectionBase(tag_family='tag36h11', ... etc

.

Metadata

Release files for apriltags 0.0.7

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

Source distribution (sdist)

Source distribution for apriltags 0.0.7
File Size Uploaded Provenance Actions
apriltags-0.0.7.tar.gz 12.6 MB Without provenance Details for apriltags-0.0.7.tar.gz

Release files / apriltags-0.0.7.tar.gz

Download URL apriltags-0.0.7.tar.gz
Size 12.6 MB
Tags Source
SHA-256 checksum
How to use checksums
339c8418adbf1051265d01200babd16b18424227ca8449eb2468d6f8142efac1
BLAKE2b-256 checksum
How to use checksums
06e59bc6940afb5cecaeded5cb4cba0ca3602d9380ad32208a51c52bf104beb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for apriltags 0.0.7

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