← Back to Skills Marketplace
mingo-318

Annotation Format Converter

by Mingo_318 · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
292
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install annotation-format-converter
Description
Convert annotation files between COCO, YOLO, VOC, and LabelMe formats with auto-detection and support for batch processing of folders.
README (SKILL.md)

Annotation Format Converter

Convert annotation formats between COCO, YOLO, VOC, and LabelMe. Use when user needs to convert annotation files between different formats for computer vision tasks.

Features

  • COCO → YOLO: Convert COCO JSON to YOLO txt format
  • YOLO → COCO: Convert YOLO txt to COCO JSON
  • VOC → COCO: Convert Pascal VOC XML to COCO JSON
  • LabelMe → COCO: Convert LabelMe JSON to COCO JSON
  • Auto-detect: Automatically detect input format
  • Batch Convert: Convert entire folders

Usage

# Convert COCO JSON to YOLO
python scripts/converter.py coco2yolo input.json output_dir/

# Convert YOLO txt to COCO
python scripts/converter.py yolo2coco input_dir/ output.json

# Convert VOC XML to COCO
python scripts/converter.py voc2coco input_dir/ output.json

# Auto-detect and convert
python scripts/converter.py convert input.json output.json --from coco --to yolo

# List supported formats
python scripts/converter.py formats

Supported Formats

Format Extension Description
COCO .json COCO JSON annotation
YOLO .txt YOLO darknet format
VOC .xml Pascal VOC XML
LabelMe .json LabelMe JSON

Examples

COCO to YOLO

$ python scripts/converter.py coco2yolo annotations.json yolo_labels/

Converting COCO to YOLO...
✓ Converted 150 annotations to yolo_labels/

YOLO to COCO

$ python scripts/converter.py yolo2coco labels/ output.json --image-dir images/

Converting YOLO to COCO...
✓ Converted 150 annotations to output.json

Installation

pip install pillow tqdm

Requirements

  • Python 3.8+
  • Pillow (for image dimensions)
  • tqdm (for progress bar)
Usage Guidance
This skill appears to do what it says: convert annotation formats locally. Before installing/running: (1) review and run the script in a controlled directory (it will read image/annotation files you point it to and write outputs, potentially overwriting existing files); (2) install Pillow if you need image-dimension detection; tqdm is optional because the script provides a simple fallback; (3) be aware default category handling is simplistic (defaults to a single generic 'object' category and 1-index/0-index ID adjustments), so verify category mapping for your dataset; (4) if you plan to run it on sensitive directories, inspect the code yourself (it contains only local file I/O and no network/execution of remote code).
Capability Analysis
Type: OpenClaw Skill Name: annotation-format-converter Version: 1.0.0 The skill bundle is a legitimate utility for converting computer vision annotation formats (COCO, YOLO, VOC, and LabelMe). The core logic in `scripts/converter.py` uses standard Python libraries and the Pillow library for image processing, with no evidence of network activity, data exfiltration, or malicious execution. All instructions in `SKILL.md` and the provided test files are consistent with the stated purpose of the tool.
Capability Assessment
Purpose & Capability
Name/description (convert between COCO, YOLO, VOC, LabelMe) align with the included script and test files. The script implements conversions and batch processing as advertised.
Instruction Scope
SKILL.md instructs running the local Python script on local files/dirs. The script only reads annotation files and optional images to get dimensions, and writes converted annotation outputs — it does not access network endpoints or unrelated system configuration.
Install Mechanism
No install spec is provided (instruction-only), which is lowest-risk. SKILL.md recommends 'pip install pillow tqdm' — pillow is required by the script; tqdm is suggested but the script defines an internal tqdm fallback, so installing tqdm is optional.
Credentials
The skill does not request environment variables, credentials, or config paths. All file and image accesses are local and proportional to an annotation-conversion tool.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills or system settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install annotation-format-converter
  3. After installation, invoke the skill by name or use /annotation-format-converter
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Annotation Format Converter. - Supports conversion between COCO, YOLO, VOC, and LabelMe annotation formats. - Enables auto-detection of annotation format. - Provides batch conversion for folders. - Includes CLI usage examples for all major conversions. - Lists supported formats and requirements.
Metadata
Slug annotation-format-converter
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Annotation Format Converter?

Convert annotation files between COCO, YOLO, VOC, and LabelMe formats with auto-detection and support for batch processing of folders. It is an AI Agent Skill for Claude Code / OpenClaw, with 292 downloads so far.

How do I install Annotation Format Converter?

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

Is Annotation Format Converter free?

Yes, Annotation Format Converter is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Annotation Format Converter support?

Annotation Format Converter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Annotation Format Converter?

It is built and maintained by Mingo_318 (@mingo-318); the current version is v1.0.0.

💬 Comments