← Back to Skills Marketplace
wangyendt

Pywayne Cv Apriltag Detector

by wangyendt · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
561
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install apriltag-detector
Description
AprilTag corner detection for camera calibration and pose estimation. Use when working with pywayne.cv.apriltag_detector module to detect AprilTag fiducial m...
README (SKILL.md)

Pywayne AprilTag Detector

This module detects AprilTag fiducial markers for camera calibration and pose estimation.

Quick Start

from pywayne.cv.apriltag_detector import ApriltagCornerDetector

# Create detector
detector = ApriltagCornerDetector()

# Detect from file path
detections = detector.detect('test.png', show_result=True)

# Detect from numpy array
import cv2
image = cv2.imread('test.png')
detections = detector.detect(image)

Detection Methods

detect()

Detect AprilTags in an image:

detections = detector.detect(
    image,           # File path, Path object, or numpy array
    show_result=False  # Show visualization window
)

Returns list of detection results with:

  • id: Tag ID
  • hamming_distance: Detection confidence
  • center: Tag center coordinates (x, y)
  • corners: 4 corner coordinates

detect_and_draw()

Detect AprilTags and draw results on original image:

result_image = detector.detect_and_draw(image)
cv2.imshow('Detection Result', result_image)
cv2.waitKey(0)

Visualization includes:

  • Green polygon outlines
  • Red corner circles
  • Red ID labels at tag centers

Requirements

  • cv2 (OpenCV) - Image processing
  • numpy - Array operations
  • gettool - Downloads apriltag_detection library automatically

Library Installation

The detector automatically checks for and installs the apriltag_detection library using gettool if not found.

Detection Result Format

Each detection contains:

Field Description
id Tag identifier
hamming_distance Hamming distance (lower = more confident)
center Tag center as (x, y) tuple
corners 4 corner coordinates as [(x1, y1), (x2, y2), (x3, y3), (x4, y4)]

Notes

  • Supports both grayscale and BGR images
  • Automatic grayscale conversion for detection
  • Visualization sizes scale with image dimensions
  • Uses AprilTag 36h11 tag family
Usage Guidance
This skill appears to implement AprilTag detection, but before installing or running it you should: (1) confirm where the 'pywayne' package comes from — the SKILL.md assumes that module exists but doesn't provide an install source; (2) treat the runtime auto-install via 'gettool' as potentially risky: determine what 'gettool' downloads (PyPI, GitHub releases, or an untrusted host) and whether packages are signed or pinned; (3) run the skill in an isolated environment (virtualenv, container) so any runtime downloads can't affect your system; (4) prefer skills that include an explicit, reviewable install spec or that name trustworthy package sources; and (5) if you need higher assurance, ask the publisher for the exact installation commands or a link to the source code for both 'pywayne' and 'apriltag_detection' before use.
Capability Analysis
Type: OpenClaw Skill Name: apriltag-detector Version: 0.1.0 The skill bundle appears benign. The `_meta.json` contains standard metadata. The `SKILL.md` provides documentation for an AprilTag detection module, describing its functionality and how it handles dependencies using `gettool` for automatic library installation. There are no instructions for the AI agent that suggest prompt injection, data exfiltration, unauthorized execution, or any other malicious intent. The use of `gettool` for dependency management, while a potential supply chain risk depending on its implementation and source, is described as a standard operational step and does not indicate malicious intent within the provided files.
Capability Assessment
Purpose & Capability
The skill's name and description match the SKILL.md: it documents an ApriltagCornerDetector and expected inputs/outputs. However, the SKILL.md assumes the availability of the 'pywayne.cv.apriltag_detector' module but does not explain how 'pywayne' itself is installed or provided. That missing dependency is a usability/incoherence issue: either the environment must already include the pywayne package, or the skill should declare how to install it.
Instruction Scope
Instructions stay on-topic (detect AprilTags, draw results, support file paths and numpy arrays). They do instruct automatic installation of 'apriltag_detection' via 'gettool' at runtime, which broadens scope to include network downloads and package installation. The SKILL.md does not instruct reading unrelated files or exfiltrating data.
Install Mechanism
There is no formal install spec, but the SKILL.md says it will automatically install 'apriltag_detection' using 'gettool' if missing. 'gettool' is not described or pinned here: runtime automatic installers can fetch arbitrary code. Because downloads would happen at agent runtime and are not declared in an install spec, this elevates risk compared to a fully-declared, reviewable install step.
Credentials
The skill declares no required environment variables, credentials, or config paths. Nothing in the SKILL.md requests secrets or unrelated credentials.
Persistence & Privilege
The skill is not marked always:true and does not request persistent system-wide privileges. It is user-invocable and allows normal autonomous invocation; that default behavior is expected and not by itself concerning here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install apriltag-detector
  3. After installation, invoke the skill by name or use /apriltag-detector
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of pywayne-cv-apriltag-detector. - Detects AprilTag fiducial markers in images for camera calibration and pose estimation. - Supports image input as file paths or numpy arrays. - Automatically installs the apriltag_detection library if needed via gettool. - Provides methods to draw detected tag corners and IDs on images. - Returns detection results including tag ID, hamming distance, center coordinates, and corners.
Metadata
Slug apriltag-detector
Version 0.1.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Pywayne Cv Apriltag Detector?

AprilTag corner detection for camera calibration and pose estimation. Use when working with pywayne.cv.apriltag_detector module to detect AprilTag fiducial m... It is an AI Agent Skill for Claude Code / OpenClaw, with 561 downloads so far.

How do I install Pywayne Cv Apriltag Detector?

Run "/install apriltag-detector" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Pywayne Cv Apriltag Detector free?

Yes, Pywayne Cv Apriltag Detector is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Pywayne Cv Apriltag Detector support?

Pywayne Cv Apriltag Detector is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Pywayne Cv Apriltag Detector?

It is built and maintained by wangyendt (@wangyendt); the current version is v0.1.0.

💬 Comments