CtrlK
BlogDocsLog inGet started
Tessl Logo

screen_unmarked_image

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

Invalid
This skill can't be scored yet
Validation errors are blocking scoring. Review and fix them to unlock Quality, Impact and Security scores. See what needs fixing →
SKILL.md
Quality
Evals
Security

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_pathstr-图片及标注文件的存放路径
image_name_extensionstr'.jpg'图片文件的后缀
marked_file_name_extensionstr'.xml'标注文件的后缀

返回值

None(结果直接打印输出)

使用示例

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

原始函数

office.api.testApi.ruiming.screen_unmarked_image

Repository
CoderWanFeng/python-office
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.