tools for voc or coco
Project description
图像处理工具包
- 处理 COCO, VOC 格式的数据集
- 包含数据集互转、切分、检查
- 对coco格式数据进行评估(基于漏检率、错检率)
数据集格式说明
VOC
VOC
|
|---------Annotations
|-------xxx.xml
|---------ImageSets
|
|-------Main
|-------trainval.txt
|---------JPEGImages
|-------xxx.jpg
|---------labels.txt
# ImageSets 非必须
COCO
COCO
|
|---------Annotations
|-------train.json
|---------train
|-------xxx.jpg
使用方法
- pip 安装
pip install cspdataset
使用方法
- pip 安装
pip install cspdataset
- 命令行式使用
datatools COMMAND
- 参数说明
usage: datatools.py [-h] --form {coco,COCO,VOC,voc} --data_dir DATA_DIR
[--split]
[--division_ratio DIVISION_RATIO [DIVISION_RATIO ...]]
[--transform] [--output_transform OUTPUT_TRANSFORM]
[--check] [--output_check OUTPUT_CHECK]
[--labelfile LABELFILE] [--eva EVA]
tools for voc/coco dataset
optional arguments:
-h, --help show this help message and exit
--form {coco,COCO,VOC,voc} the form of the dataset
--data_dir DATA_DIR the dir of the dataset
--split Set a switch to split
--division_ratio DIVISION_RATIO [DIVISION_RATIO ...] data segmentation ratio
--transform Set a switch to transform
--output_transform OUTPUT_TRANSFORM dir for output
--check Set a switch to check
--output_check OUTPUT_CHECK dir for output
--labelfile LABELFILE the labels.txt from the platform
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cspdataset-0.4.8.tar.gz.
File metadata
- Download URL: cspdataset-0.4.8.tar.gz
- Upload date:
- Size: 5.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a10ae841c8212ed08e9353058a5b220b8976e570d1f9eb67bd0273309a6dc9d9
|
|
| MD5 |
7b1d7712db1e6443a8cdd1a574f936c8
|
|
| BLAKE2b-256 |
732e0a4b7d50132922fa8849ee51aa479bb77e90c2623307f6c2499b11ec88be
|
File details
Details for the file cspdataset-0.4.8-py3-none-any.whl.
File metadata
- Download URL: cspdataset-0.4.8-py3-none-any.whl
- Upload date:
- Size: 63.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc285d738d4dfac11af4a401962b032460aa9da903ce1e8aba7380a83084c829
|
|
| MD5 |
876e91605aaa62f1db37b40333469d23
|
|
| BLAKE2b-256 |
d7621d489d5101a8216620e6d2e861406840e4071ad19d869c3a2c299d647e81
|