/COCO-split-merge

annotation file 구조변경 코드

Primary LanguagePython

COCO-split-merge

This code divides the coco format segmentation json file into individual json files according to the file name, and merges only the desired files into one json file.

그림2

✔️ Tested

Python Windows Mac Linux
3.8 windows10 Proceeding Proceeding

⬇️ Installation

Clone repo and install requirements.txt in a Python>=3.8.0 environment

git clone https://github.com/dohyeonYoon/COCO-split-merge  # clone
cd COCO-split-merge
pip install -r requirements.txt  # install

🚀 Getting started

You can split the desired json file into individual json files according to the file name and optionally merge them again.

cd src
python coco_json_split
python coco_json_merge
python coco_json_edit(optional)

🚫 Caution

This code only works for coco format segmentation json file.