Pywayne CV Tools

OpenCV YAML file read/write utilities. Use when working with pywayne.cv.tools module to read OpenCV FileStorage YAML files with support for nested structures, numpy arrays, basic types, and lists. Handles cv2.FileNode parsing including Map, Seq, and matrix nodes.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add wangyendt/wayne-skills --skill pywayne-cv-tools
Manual install
git clone --depth 1 https://github.com/wangyendt/wayne-skills.git /tmp/wayne-skills
mkdir -p ~/.claude/skills
cp -r /tmp/wayne-skills/pywayne/cv/tools ~/.claude/skills/pywayne-cv-tools

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Pywayne CV YAML I/O

This module provides utilities for reading and writing OpenCV `cv2.FileStorage` YAML files.

## Quick Start

```python
from pywayne.cv.tools import read_cv_yaml, write_cv_yaml
import numpy as np

# Write to YAML file
data = {
    "camera_name": "test_camera",
    "image_width": 1920,
    "image_height": 1080,
    "calibration_matrix": np.eye(3)
}
write_cv_yaml('config.yaml', data)

# Read from YAML file
data = read_cv_yaml('config.yaml')
print(data)
```

## Supported Data Types

| Type | Handling |
|------|---------|
| `int`, `float`, `str` | Written directly |
| `np.ndarray` | Written using `fs.write()` |
| `list` | Written using `FileNode_SEQ` |
| `dict` | Written using `FileNode_MAP` |
| `None` | Skipped |

## Reading Files

```python
from pywayne.cv.tools import read_cv_yaml

# Read YAML file (returns dict or None on error)
data = read_cv_yaml('camera_config.yaml')
if data:
    print(data['camera_name'])
    print(data['image_width'])
```

**Notes:**
- Handles nested structures recursively
- Returns `None` if file cannot be opened
- Uses `wayne_print` for error messages (red/yellow colors)
- Supports both `FileNode_MAP` and `FileNode_SEQ` for dictionaries and lists
- Matrix nodes read using `.mat()` method

## Writing Files
Read the full skill on GitHub

Details

Skill name
pywayne-cv-tools
Path
pywayne/cv/tools/SKILL.md
License
MIT
Repo updated
23 October 2026

FAQ

What does the Pywayne CV Tools skill do?

OpenCV YAML file read/write utilities. Use when working with pywayne.cv.tools module to read OpenCV FileStorage YAML files with support for nested structures, numpy arrays, basic types, and lists. Handles cv2.FileNode parsing including Map, Seq, and matrix nodes.

How do I install the Pywayne CV Tools skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add wangyendt/wayne-skills --skill pywayne-cv-tools. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Pywayne CV Tools popular?

It lives in wangyendt/wayne-skills, which has 9 GitHub stars and 0 forks.

Related skills

Alapi

9

wangyendt/wayne-skills

Comprehensive ALAPI skill covering the full bundled ALAPI OpenAPI catalog. Use when the user mentions ALAPI, alapi, ALAPI_TOKEN, openapi.json, or an ALAPI path like /api/..., or asks to find which ALAPI API matches a business need, choose between similar ALAPI endpoints, explain request fields, prepare or execute a request, or troubleshoot an ALAPI response. Covers inspirational content, articles, news and hotlists, AI chat/translation/NLP, OCR and document recognition, weather and calendar data, IP/phone/ID/domain/ICP/enterprise lookup and verification, finance/exchange/gold/oil/crypto market

Writing & Content

Android App Publisher

9

wangyendt/wayne-skills

Build or publish standalone Android APKs to an authenticated OSS distribution service, update the latest release, list published apps, and generate stable download links and QR codes. Use for Android app sharing and release management, not generic OSS operations or app-store uploads.

Mobile Development

Awesome Docs

9

wangyendt/wayne-skills

Use this skill whenever the user asks to record, organize, update, or maintain project documentation, including architecture overviews and decisions, technical books and derivations, API/protocol/configuration references, implementation plans, roadmaps, todos, risks, experiments, know-how, or common commands. Choose paths and naming by document purpose, preserve existing canonical locations, and check links when reorganizing. Defaults to the target project’s docs directory unless the user specifies another location. Covers reader-first technical explanations and interactive HTML documents as w

Writing & Content

2slides Ppt Generator

9

huytran1120/vietnam-agentic-skills

AI-powered presentation generation via the 2slides API — create slides from text, match a reference image style, summarize documents into decks, add AI voice narration, and export pages/audio. Use for any "make slides", "create a deck", or "slides from this document" request.

Documents & Office Files

Pywayne CV Stereo Tag Matcher

9

wangyendt/wayne-skills

Stereo vision AprilTag matching for dual-camera systems. Use when working with pywayne.cv.stereo_tag_matcher module to match AprilTags from left/right camera views, find common tags between images, stitch stereo images together, and visualize results with color-coded annotations (all tags green, common tags yellow, red connection lines).

Documents & Office Files

He Router

9

jscraik/Agent-Skills

Route ambiguous Harness Engineering requests to one lifecycle stage when users ask where to start, resume, plan, implement, review, debug, schedule a heartbeat, or resolve domain terminology.

Documents & Office Files

Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.