← 返回
内容创作 中文

Annotation Visualizer

Visualize bounding boxes and class labels on images with support for COCO, YOLO, VOC, and LabelMe annotation formats.
在图像上可视化边界框和类别标签,支持 COCO、YOLO、VOC 和 LabelMe 标注格式。
mingo-318
内容创作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 541
下载
💾 12
安装
1
版本
#latest

概述

Annotation Visualizer

Visualize bounding boxes and labels on images. Supports COCO, YOLO, VOC, and LabelMe formats. Use when user wants to visualize annotations on images for quality checking or debugging.

Features

  • Multi-format Support: COCO, YOLO, VOC, LabelMe
  • Customizable Colors: Per-class colors or auto-generated
  • Label Display: Show class names and confidence
  • Box Styles: Filled or outline boxes
  • Batch Processing: Visualize entire dataset

Usage

# Visualize YOLO annotations
python scripts/visualize.py yolo images/ labels/ output/

# Visualize COCO annotations
python scripts/visualize.py coco annotations.json images/ output/

# Custom colors and styles
python scripts/visualize.py yolo images/ labels/ output/ \
  --colors red,green,blue \
  --thickness 2 \
  --fill

Examples

$ python scripts/visualize.py yolo ./images ./labels ./output

Processing 100 images...
✓ Saved visualization for image1.jpg -> output/image1.jpg
✓ Saved visualization for image2.jpg -> output/image2.jpg
...

Supported Formats

FormatInputDescription
----------------------------
YOLO.txtYOLO darknet format
COCO.jsonCOCO JSON annotation
VOC.xmlPascal VOC XML
LabelMe.jsonLabelMe JSON

Installation

pip install pillow

Options

  • --colors: Comma-separated colors for each class
  • --thickness: Box line thickness (default: 2)
  • --fill: Fill boxes with semi-transparent color
  • --show-label: Show class labels on boxes
  • --font-size: Label font size (default: 16)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 16:37 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,487
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,199
developer-tools

Sports Events Query

mingo-318
使用 TheSportsDB 免费 API,无需 API 密钥,即可获取多项体育赛事、赛果、球队信息和联赛详情。
★ 1 📥 692