返回顶部
i

image-annotation-qc图像标注质检

Image Annotation Quality Control Tool - Automatically detect quality issues in bounding box and polygon segmentation annotations, generate visual reports. Supports COCO/YOLO/VOC/LabelMe formats, suitable for autonomous driving, industrial inspection, security monitoring and other AI training data quality control scenarios.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.7
安全检测
已通过
330
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

image-annotation-qc

图像标注质量控制工具

自动检测图像标注中的质量问题,并生成带有可视化结果的详细报告。

功能特性

  • - ✅ 多格式支持:COCO / YOLO / VOC / LabelMe
  • 自动检测:无需指定格式,自动识别
  • 场景化质量控制:通用 / 道路 / 工业 / 安防
  • 自动保存报告:自动保存至 qc_report/ 目录
  • 可视化:生成带有错误标注(红色框)的图像
  • 多格式报告:TXT / JSON / Excel

快速开始

bash

基本用法(自动检测格式)


python3 scripts/qc_tool.py -i <图片目录> -a <标注目录>

指定格式

python3 scripts/qc_tool.py -i ./images -a ./annotations -f labelme

工业检测场景

python3 scripts/qc_tool.py -i ./images -a ./annotations -d industrial

抽样100张图片

python3 scripts/qc_tool.py -i ./images -a ./annotations -s 100

指定输出目录

python3 scripts/qctool.py -i ./images -a ./annotations -o ./myreport

生成Excel报告

python3 scripts/qc_tool.py -i ./images -a ./annotations --formats txt json xlsx

参数说明

参数简写说明默认值
--image-dir-i图片目录(必填)
--annotation
-a | 标注文件或目录 | (必填) | | --format | -f | 标注格式 | auto | | --domain | -d | 应用场景 | general | | --sample | -s | 抽样数量 | 全部 | | --output | -o | 输出目录 | ./qc_report | | --formats | - | 报告格式 | txt json | | --no-visual | - | 禁用可视化 | false |

场景说明

  • - general:通用场景
  • road:自动驾驶(小目标、遮挡)
  • industrial:工业检测(微小缺陷)
  • security:安防监控

输出示例

╔══════════════════════════════════════════╗
║ 图像标注质量控制 ║
╠══════════════════════════════════════════╣
║ 图片:1000 标注:4523 ║
║ 错误:127 质量评分:85.5 ║
║ 准确率:97.2% ║
╚══════════════════════════════════════════╝

输出文件

质量控制完成后,在标注目录中生成以下文件:

annotations/
├── qc_report/
│ ├── qc_report.txt # 文本报告
│ ├── qc_report.json # JSON详细报告
│ ├── qc_report.xlsx # Excel报告(可选)
│ └── visual/ # 可视化图片
│ ├── frame001qc.png
│ └── frame002qc.png

错误类型

错误说明权重
漏标明显目标未标注1.0
错标
标注区域与目标不匹配 | 0.8 | | 偏移 | 框边缘偏差>10像素 | 0.5 | | 过大 | 框明显大于目标 | 0.3 | | 过小 | 框未完全包含目标 | 0.5 | | 重复 | 同一对象多次标注 | 0.5 | | 标签错误 | 类别标签错误 | 0.8 |

质量评分

评分 = 100 × (标注数 - 错误数×权重) / 标注数

等级划分:

  • - 90分以上:优秀
  • 80-89分:良好
  • 70-79分:合格
  • 70分以下:不合格

安装

bash
pip install Pillow openpyxl

作为模块使用

python
from qc_tool import AnnotationQC

qc = AnnotationQC(images/, annotations/, format=labelme)
data = qc.load_annotations()
result = qc.check_annotations(data)
qc.generate_report(result, formats=[txt, json])
qc.visualize_errors(result)
print(f质量评分:{result.quality_score})

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 image-annotation-qc-1776208238 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 image-annotation-qc-1776208238 技能

通过命令行安装

skillhub install image-annotation-qc-1776208238

下载

⬇ 下载 image-annotation-qc v1.0.7(免费)

文件大小: 12.68 KB | 发布时间: 2026-4-15 12:49

v1.0.7 最新 2026-4-15 12:49
Remove billing, now completely free

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部