Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kazuhito00/convert_coco_to_voc

COCO形式のJSONファイルをPascal VOC形式のXMLファイルへ変換するスクリプト
https://github.com/kazuhito00/convert_coco_to_voc

coco convert json pascal-voc xml

Last synced: 3 months ago
JSON representation

COCO形式のJSONファイルをPascal VOC形式のXMLファイルへ変換するスクリプト

Awesome Lists containing this project

README

        

# convert_coco_to_voc
COCO形式のJSONファイルをPascal VOC形式のXMLファイルへ変換するスクリプト

# Requirement
* tqdm 4.62.2 or later
* xmltodict 0.12.0 or later

# Usage
使用方法は以下です。
```bash
python convert_coco_to_voc.py json_filename xml_output_directory
```
* --set_name

xmlファイル一覧テキストを出力名

デフォルト:train
* --bbox_offset

Pascal VOC形式のバウンディングボックスへ変換する際のオフセット

デフォルト:1
* --folder

\タグに書き込む内容

デフォルト:VOCCOCO
* --path

\タグに書き込む内容

デフォルト:指定なし
* --owner

\タグに書き込む内容

デフォルト:Unknown
* --source_database

\タグに書き込む内容

デフォルト:Unknown
* --source_annotation

\タグに書き込む内容

デフォルト:Unknown
* --source_image

\タグに書き込む内容

デフォルト:Unknown
* --image_depth

\タグに書き込む内容

デフォルト:3
* --segmented

\タグに書き込む内容

デフォルト:0

# Author
高橋かずひと(https://twitter.com/KzhtTkhs)

# License
convert_coco_to_voc is under [Apache-2.0 License](LICENSE).