---
title: text_det_test_dataset
canonical_url: "https://www.modelscope.cn/datasets/liekkas/text_det_test_dataset"
md_url: "https://www.modelscope.cn/datasets/liekkas/text_det_test_dataset.md"
repository: liekkas/text_det_test_dataset
chinese_name: "文本检测测试集"
last_updated: 2026-10-23
license: "Apache License 2.0"
storage_size: "113 MB"
domain:
  - image
tasks:
  - image-to-text
size_scale:
  - 0-100
downloads: 1183
stars: 3
---

# text_det_test_dataset

> text_det_test_dataset - liekkas 在 ModelScope 开源的数据集。该数据集仅是一个测试基准，用于评测文本检测算法的效果。用户可根据自己业务需求，自行增改该数据集。

liekkas/text_det_test_dataset 是 ModelScope 魔搭社区上的image-to-text数据集，涉及 image 领域，存储大小 113 MB，采用 Apache License 2.0 许可。

- **Repository**: liekkas/text_det_test_dataset
- **License**: Apache License 2.0
- **Tasks**: image-to-text
- **Domain**: image
- **Storage size**: 113 MB
- **Downloads**: 1183
- **Stars**: 3
- **Last updated**: 2026-10-23

Source: https://www.modelscope.cn/datasets/liekkas/text_det_test_dataset

---

## ⚠️注意：
当前数据集不再更新，后续更新请移步：[text_det_test_dataset](https://huggingface.co/datasets/SWHL/text_det_test_dataset)

## 文本检测测试集

### 数据集简介
- 数据集包括23张自然场景图像，包括海报、门店招牌等。
- 该数据集可以结合[文本检测指标评测库-TextDetMetric](https://github.com/SWHL/TextDetMetric)使用，快速评测各种文本检测算法。
- **关于该数据集，欢迎小伙伴贡献更多数据呦！有任何想法，可以前往[issue](https://github.com/SWHL/TextDetMetric/issues)讨论。**

### 数据集支持的任务
可用于自定义数据集下的模型验证和性能评估等。

### 数据集的格式和结构

#### 数据格式
数据集只有测试集，目录结构如下，小伙伴可自行决定如何使用。

<details>

```text
text_det_test_dataset
├── 03670_pitstonewindmill_2880x1800.jpg
├── 03670_pitstonewindmill_2880x1800.json
├── 0adbb29c7c04474e6437f80610cffc64.json
├── 0adbb29c7c04474e6437f80610cffc64.png
├── 11.jpg
├── 11.json
├── 123.jpeg
├── 123.json
├── 15.jpg
├── 15.json
├── 19.json
├── 19.png
├── 25.jpg
├── 25.json
├── 28.json
├── 28.png
├── 3a0415ed6367cf8c8ea89d0c2a04e006.jpg
├── 3a0415ed6367cf8c8ea89d0c2a04e006.json
├── 3.json
├── 3.png
├── 84fc19386c3b4dac38bcb65f5d251f96.jpg
├── 84fc19386c3b4dac38bcb65f5d251f96.json
├── 85bf01ea6408179ebe95295a906b0708.jpg
├── 85bf01ea6408179ebe95295a906b0708.json
├── 9.json
├── 9.png
├── c (19).jpeg
├── c (19).json
├── image_ (15).jpg
├── image_ (15).json
├── image_ (1).bmp
├── image_ (1).json
├── image_ (3).jpeg
├── image_ (3).json
├── image_ (4).json
├── image_ (4).tif
├── image5.json
├── image5.png
├── image_ (6).bmp
├── image_ (6).json
├── image8.gif
├── image8.json
├── shumei_image_5193.jpg
├── shumei_image_5193.json
├── TB1.hytcMn.PuJjSZFkXXc_lpXa_!!0-item_pic.jpg.jpg
└── TB1.hytcMn.PuJjSZFkXXc_lpXa_!!0-item_pic.jpg.json
```

</details>

#### 数据集加载方式
⚠️注意：推荐使用`modelscope==1.5.2`版本，`v1.7.1`经过验证，Windows端有编码问题，不推荐。其他版本暂无测试，小伙伴可自行测试。
```python
from modelscope.msdatasets import MsDataset

# 加载测试集
ms_test_dataset = MsDataset.load('text_det_test_dataset', namespace='liekkas', subset_name='default', split='test')
print(next(iter(ms_test_dataset)))
```


### 数据集生成的相关信息

#### 原始数据
数据来源于网络，如侵删。

#### 数据集标注
- 数据集使用[**labelme**](https://github.com/wkentaro/labelme)标注，下载该数据之后，可直接用[**labelme**](https://github.com/wkentaro/labelme)打开，可视化查看。
- 数据集标注为`json`格式，示例如下：

    <details>

    ```json
    {
    "version": "4.5.6",
    "flags": {},
    "shapes": [
        {
        "label": "",
        "points": [
            [
            486.0,
            751.0
            ],
            [
            588.0,
            751.0
            ],
            [
            588.0,
            779.0
            ],
            [
            486.0,
            779.0
            ]
        ],
        "group_id": null,
        "shape_type": "polygon",
        "flags": {}
        },
        {
        "label": "",
        "points": [
            [
            385.1382113821138,
            686.6178861788618
            ],
            [
            592.4552845528456,
            688.2439024390244
            ],
            [
            589.2032520325204,
            739.4634146341464
            ],
            [
            386.7642276422764,
            737.0243902439024
            ]
        ],
        "group_id": null,
        "shape_type": "polygon",
        "flags": {}
        }
    ],
    "imagePath": "19.png",
    "imageData": "xxxxxx",
    "imageHeight": 784,
    "imageWidth": 613
    }
    ```
    </details>

### Clone with HTTP
```bash
git clone https://www.modelscope.cn/datasets/liekkas/text_det_test_dataset.git
```
