← 返回 Skills 市场
wangyendt

Pywayne Cv Apriltag Detector

作者 wangyendt · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
561
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install apriltag-detector
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /apriltag-detector 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug apriltag-detector
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 561 次。

如何安装 Pywayne Cv Apriltag Detector?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install apriltag-detector」即可一键安装,无需额外配置。

Pywayne Cv Apriltag Detector 是免费的吗?

是的,Pywayne Cv Apriltag Detector 完全免费(开源免费),可自由下载、安装和使用。

Pywayne Cv Apriltag Detector 支持哪些平台?

Pywayne Cv Apriltag Detector 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Pywayne Cv Apriltag Detector?

由 wangyendt(@wangyendt)开发并维护,当前版本 v0.1.0。

💬 留言讨论