---
name: Empty Label JSON Filter
slug: empty-label-json-filter
category: Data
description: Empty Label JSON Filter筛选 shapes 为空的 JSON 标注文件，并将它们移动到“无标签json文件”子目录。适合清洗标注数据时按空标签快速归档。
github: "https://github.com/CoderWanFeng/python-office/tree/develop/skills/ruiming/screen_without_label_json_file"
language: Python
stars: 1339
forks: 301
install: "npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/ruiming/screen_without_label_json_file ~/.claude/skills/screen_without_label_json_file"
installs_to: ~/.claude/skills/screen_without_label_json_file
source_path: skills/ruiming/screen_without_label_json_file/SKILL.md
collection_size: 50
category_size: 668
collection_url: "https://dirskills.com/collections/CoderWanFeng/python-office"
added: 2026-08-12T04:43:10.966Z
last_synced: 2026-08-12T04:43:10.966Z
canonical_url: "https://dirskills.com/skills/empty-label-json-filter"
---

# Empty Label JSON Filter

Empty Label JSON Filter筛选 shapes 为空的 JSON 标注文件，并将它们移动到“无标签json文件”子目录。适合清洗标注数据时按空标签快速归档。

**Install:**

```bash
npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/ruiming/screen_without_label_json_file ~/.claude/skills/screen_without_label_json_file
```

## README

# screen_without_label_json_file Skill

> 筛选无标签内容的 JSON 文件

## 功能描述

在指定目录下，筛选出 shapes 字段为空的 JSON 文件，并将其移动到 `无标签json文件` 子目录中。常用于数据清洗场景。

## 所属分类

`office/skills/ruiming/screen_without_label_json_file/`

## 调用方式

```python
from skills.ruiming import screen_without_label_json_file

screen_without_label_json_file(dir_path='./jsons')
```

## 参数说明

| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `dir_path` | str | 是 | - | JSON 文件的存放路径 |

## 返回值

`None`（结果直接打印输出）

## 使用示例

```python
from skills.ruiming import screen_without_label_json_file
screen_without_label_json_file(dir_path='./annotations')
```

## 原始函数

`office.api.testApi.ruiming.screen_without_label_json_file`
