Pywayne Cv Apriltag Detector

v0.1.0

AprilTag corner detection for camera calibration and pose estimation. Use when working with pywayne.cv.apriltag_detector module to detect AprilTag fiducial m...

0· 552·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for wangyendt/apriltag-detector.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Pywayne Cv Apriltag Detector" (wangyendt/apriltag-detector) from ClawHub.
Skill page: https://clawhub.ai/wangyendt/apriltag-detector
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install wangyendt/apriltag-detector

ClawHub CLI

Package manager switcher

npx clawhub@latest install apriltag-detector
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
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.
What to consider before installing
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk97cc9cvn3gkxwne5zp6e7snz981625x
552downloads
0stars
1versions
Updated 2mo ago
v0.1.0
MIT-0

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:

FieldDescription
idTag identifier
hamming_distanceHamming distance (lower = more confident)
centerTag center as (x, y) tuple
corners4 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

Comments

Loading comments...