Skip to content
Automation
Skill

/screen_unmarked_image

在指定目录下筛选没有对应标注文件(.xml)的图片,并移动到「未标注图片」子目录。当用户提到筛选未标注图片、未标数据、清洗图片数据集时使用。

BOOST
From plugin
python-office
1.4k74 skills
Install
$ npx -y skills add coderwanfeng/python-office --skill screen_unmarked_image --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/screen_unmarked_image

Context preview

The summary Claude sees to decide when to auto-load this skill.

在指定目录下筛选没有对应标注文件(.xml)的图片,并移动到「未标注图片」子目录。当用户提到筛选未标注图片、未标数据、清洗图片数据集时使用。

SKILL.md

screen_unmarked_image.SKILL.md
name: screen_unmarked_image
description: 在指定目录下筛选没有对应标注文件(.xml)的图片,并移动到「未标注图片」子目录。当用户提到筛选未标注图片、未标数据、清洗图片数据集时使用。

screen_unmarked_image Skill

> 筛选未标注的图像

功能描述

在指定目录下,筛选出没有对应标注文件(如 .xml)的图片,并将其移动到 `未标注图片` 子目录中。

所属分类

`office/skills/ruiming/screen_unmarked_image/`

调用方式

from skills.ruiming import screen_unmarked_image

screen_unmarked_image(dir_path='./dataset')

参数说明

| 参数 | 类型 | 必填 | 默认值 | 说明 | |------|------|------|--------|------| | `dir_path` | str | 是 | - | 图片及标注文件的存放路径 | | `image_name_extension` | str | 否 | `'.jpg'` | 图片文件的后缀 | | `marked_file_name_extension` | str | 否 | `'.xml'` | 标注文件的后缀 |

返回值

`None`(结果直接打印输出)

使用示例

from skills.ruiming import screen_unmarked_image
screen_unmarked_image(dir_path='./my_dataset')

原始函数

`office.api.testApi.ruiming.screen_unmarked_image`

Ships withpython-office

pip install python-office 自动化办公专用库

Get the whole plugin
Stats
1,358
Stars
303
Forks
Maintained
Maintenance
Python
Language
Apache-2.0
License
1mo ago
Last commit
4y ago
Created
1d ago
Added

Repo: coderwanfeng/python-office

Other skills on python-office.