mask2json
a small tool for image augmentation, including mask files to json/xml files , image augmentation(flip,rotation,noise,...) and so on
File Explorer
Download Latest Version (.zip)- workflow.yml
- 1-2cvt.json
- auto_labeled.png
- auto_labeled_labeled_multi_objs_samelabel.png
- auto_labeled_multi_objs.png
- auto_labeled_ori.png
- auto_mask2xml.png
- combine.png
- flip_h.png
- flip_v.png
- flip_v_h.png
- json2mask.gif
- json2xml.png
- manually_labeled.png
- manually_labeled_multi_objs.png
- manually_labeled_multi_objs_samelabel.png
- mosiac.png
- mosiac2.png
- multi_objs.json
- multi_objs_distort.jpg
- multi_objs_sameclass.json
- negative.png
- noise.png
- resize1.png
- rotation.png
- splitYolo.gif
- testCrop.jpg
- testSingleCrop.jpg
- testSingleCropOrigin.jpg
- translation.png
- xml2json.gif
- xml2yolo.gif
- __init__.py
- augment_form.py
- look.png
- __init__.py
- get_all_type_files.py
- README.md
- test.py
- __init__.py
- crop.py
- cutmix.py
- cutout.py
- distort.py
- generatePolygon.py
- inpaint.py
- mixup.py
- mosaic.py
- Operator.py
- paddingAndCut.py
- perspective.py
- readme.md
- resize.py
- __init__.py
- img_aug.py
- img_aug_nolabel.py
- img_aug_xmls.py
- operator_without_label.py
- options_operator_without_label.py
- __init__.py
- ame.py
- cp_file.py
- get_area.py
- main_v_0_3_any.py
- reverse.py
- __init__.py
- kmeans.py
- __init__.py
- processor_multi_object.py
- processor_single_object.py
- test.xml
- test2.xml
- __init__.py
- convert.py
- convert_with_label.py
- __init__.py
- json2xml.py
- __init__.cpython-37.pyc
- script.cpython-37.pyc
- splitImg.cpython-37.pyc
- __init__.py
- script.py
- split_img.py
- __init__.py
- config_utils.py
- get_multi_shapes.py
- get_shape.py
- img2base64.py
- logger.py
- rmQ.py
- __init__.py
- genrate.py
- readme.md
- __init__.py
- yololike.py
- __init__.py
- widerFace_convert.py
- __init__.py
- xml2json.py
- __init__.py
- x2m.py
- __init__.py
- xml2yolo.py
- __init__.py
- yolo2xml.py
- __init__.py
- draw.py
- img_augment_script.py
- mask2json_script.py
- __init__.py
- config.ini
- convertmaskUI.py
- main.py
- augment.md
- img2xml.md
- json2mask.md
- json2xml.md
- longImgSplit.md
- mask2json.md
- xml2json.md
- xml2mask.md
- xml2yolo.md
- yolo2xml.md
- test702_0_assumble0.jpg
- test702_0_assumble0.json
- test702_0_assumble1.jpg
- test702_0_assumble1.json
- test702_0_assumble2.jpg
- test702_0_assumble2.json
- 1-2cvt.png
- label_255.jpg
- multi_objs_sameclass.png
- label_255.jpg
- 1-2cvt_label_viz.png
- multi_objs_sameclass_label_viz.png
- info.yaml
- label_names.txt
- multi_objs.png
- test702.png
- multi_objs_label_viz.png
- test702_label_viz.png
- multi_objs_test.json
- multi_objs_test.json
- multi_objs_test_with_yaml.jpg
- multi_objs_test_with_yaml.json
- multi_objs_test_without_yaml.jpg
- multi_objs_test_without_yaml.json
- img.png
- info.yaml
- label.png
- label.xml
- label_names.txt
- label_viz.png
- multi_objs.json
- test.jpg
- img.png
- info.yaml
- label.png
- label_255.png
- label_names.txt
- label_viz.png
- 1752_3.xml
- 2409_3.xml
- 2467_3.xml
- 1187_3.txt
- 1187_3.xml
- test.xml
- test.jpg
- test.txt
- test.txt.bak
- voc.names
- 0_Parade_marchingband_1_5.jpg
- 0_Parade_marchingband_1_5.xml
- 0_Parade_marchingband_1_71.jpg
- 0_Parade_marchingband_1_71.xml
- 1-2cvt.jpg
- 1-2cvt.json
- 1-2cvt.png
- 1110.jpg
- 1112.jpg
- 2065366148249969883.jpg
- 2065366148249969883.xml
- bbox_label.jpg
- bbox_label.json
- bbox_label.xml
- bbox_label_black.jpg
- bbox_label_black.json
- classes.txt
- info.yaml
- info2.yaml
- issue.png
- label_255.json
- label_255.png
- label_255.xml
- label_255_p.json
- label_255_p.xml
- multi_objs.jpg
- multi_objs.json
- multi_objs.txt
- multi_objs.xml
- multi_objs.yaml
- multi_objs_distort.jpg
- multi_objs_p.json
- multi_objs_reshape.jpg
- multi_objs_reshape.xml
- multi_objs_sameclass.jpg
- multi_objs_sameclass.json
- multi_objs_sameclass.xml
- multi_objs_test.jpg
- multi_objs_test.json
- multi_objs_wrap.jpg
- README_v_0_4_any.md
- test1123.jpg
- test1123.xml
- test702.jpg
- test702.json
- test702.yaml
- test_zoom.jpg
- testCrop.jpg
- testInpaint.jpg
- testMosiac.jpg
- testPers.jpg
- testResize.jpg
- cutImg506x2.txt
- cutImg506x3.txt
- cutImg507x2.txt
- cutImg507x3.txt
- cutImg508x2.txt
- cutImg508x3.txt
- cutImg509x2.txt
- cutImg509x3.txt
- cutImg50x2.txt
- cutImg50x3.txt
- cutImg510x2.txt
- cutImg510x3.txt
- cutImg511x2.txt
- cutImg511x3.txt
- cutImg512x2.txt
- cutImg512x3.txt
- cutImg513x2.txt
- cutImg513x3.txt
- cutImg514x2.txt
- cutImg514x3.txt
- cutImg515x2.txt
- cutImg515x3.txt
- cutImg516x2.txt
- cutImg516x3.txt
- cutImg517x2.txt
- cutImg517x3.txt
- cutImg518x2.txt
- cutImg518x3.txt
- cutImg519x2.txt
- cutImg519x3.txt
- cutImg51x2.txt
- cutImg51x3.txt
- cutImg520x2.txt
- cutImg520x3.txt
- cutImg521x2.txt
- cutImg521x3.txt
- cutImg522x2.txt
- cutImg522x3.txt
- cutImg523x2.txt
- cutImg523x3.txt
- cutImg524x2.txt
- cutImg524x3.txt
- cutImg52x2.txt
- cutImg52x3.txt
- cutImg53x2.txt
- cutImg53x3.txt
- cutImg54x2.txt
- cutImg54x3.txt
- cutImg55x2.txt
- cutImg55x3.txt
- cutImg56x2.txt
- cutImg56x3.txt
- cutImg57x2.txt
- cutImg57x3.txt
- cutImg58x2.txt
- cutImg58x3.txt
- cutImg59x2.txt
- cutImg59x3.txt
- cutImg5x2.txt
- cutImg5x3.txt
- cutImg60x2.txt
- cutImg60x3.txt
- cutImg61x2.txt
- cutImg61x3.txt
- cutImg62x2.txt
- cutImg62x3.txt
- cutImg63x2.txt
- cutImg63x3.txt
- mask2json.py
- multi_objs_distort.jpg
- test.jpg
- test.py
- test_aug.py
- test_convert_json2mask.py
- test_convert_widerface.py
- test_crop.py
- test_cut_padding.py
- test_dep.py
- test_distort.py
- test_generate_mask.py
- test_img2b64.py
- test_img2xml.py
- test_imgAug.py
- test_imgAug_nolabel.py
- test_inpaint.py
- test_json2mask.py
- test_json2xml.py
- test_list2yaml.py
- test_local_wrap.py
- test_main.py
- test_mask2json.py
- test_mosiac.py
- test_multi_augment.py
- test_multi_objects_to_xml.py
- test_negativeSampleGe.py
- test_newXmlAug.py
- test_operator_without_label.py
- test_optional_operation.py
- test_pca.py
- test_perspective.py
- test_readConfig.py
- test_resize.py
- test_splitXml.py
- test_splitXmlWithOverlay.py
- test_xml2json.py
- test_xml2voc.py
- test_xml2yolo.py
- test_yolo2xml.py
- test_yololike_generate.py
- .gitattributes
- .gitignore
- .travis.yml
- LICENSE
- README.md
- requirements.txt
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/guchengxi1994/mask2json
Downloads the entire project code from GitHub to your computer.
cd mask2json
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requestments.txt
Installs the Python libraries listed in requirements.txt (or similar).
pip install -r requirements.txt --ignore-installed
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
