Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waikato-ufdl/wai-annotations-coco
wai.annotations module for dealing MSCOCO object detection file formats.
https://github.com/waikato-ufdl/wai-annotations-coco
Last synced: about 1 month ago
JSON representation
wai.annotations module for dealing MSCOCO object detection file formats.
- Host: GitHub
- URL: https://github.com/waikato-ufdl/wai-annotations-coco
- Owner: waikato-ufdl
- License: apache-2.0
- Created: 2021-05-12T21:31:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-19T02:54:48.000Z (over 2 years ago)
- Last Synced: 2023-03-04T15:28:02.360Z (almost 2 years ago)
- Language: Python
- Homepage: https://ufdl.cms.waikato.ac.nz/wai-annotations-manual/
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
# wai-annotations-coco
wai.annotations module for dealing [MSCOCO object detection file formats](https://cocodataset.org/#format-data).The manual is available here:
https://ufdl.cms.waikato.ac.nz/wai-annotations-manual/
## Plugins
### FROM-COCO-OD
Reads image object-detection annotations in the MS-COCO JSON-format#### Domain(s):
- **Image Object-Detection Domain**#### Options:
```
usage: from-coco-od [-I FILENAME] [-i FILENAME] [-N FILENAME] [-n FILENAME] [--seed SEED]optional arguments:
-I FILENAME, --inputs-file FILENAME
Files containing lists of input files (can use glob syntax)
-i FILENAME, --input FILENAME
Input files (can use glob syntax)
-N FILENAME, --negatives-file FILENAME
Files containing lists of negative files (can use glob syntax)
-n FILENAME, --negative FILENAME
Files that have no annotations (can use glob syntax)
--seed SEED the seed to use for randomisation
```### TO-COCO-OD
Writes image object-detection annotations in the MS-COCO JSON-format#### Domain(s):
- **Image Object-Detection Domain**#### Options:
```
usage: to-coco-od [--annotations-only] [--categories CATEGORY [CATEGORY ...]] [--category-output-file FILENAME] [--default-supercategory SUPERCATEGORY] [--error-on-new-category] [--license-name LICENSE_NAME] [--license-url LICENSE_URL] -o PATH [--pretty] [--sort-categories] [--split-names SPLIT NAME [SPLIT NAME ...]] [--split-ratios RATIO [RATIO ...]]optional arguments:
--annotations-only skip the writing of data files, outputting only the annotation files
--categories CATEGORY [CATEGORY ...]
defines the order of the categories
--category-output-file FILENAME
file to write the categories into, as a simple comma-separated list
--default-supercategory SUPERCATEGORY
the supercategory to use for pre-defined categories
--error-on-new-category
whether unspecified categories should raise an error
--license-name LICENSE_NAME
the license of the images
--license-url LICENSE_URL
the license of the images
-o PATH, --output PATH
output file to write annotations to (images are placed in same directory)
--pretty whether to format the JSON annotations file with indentation
--sort-categories whether to put the categories in alphabetical order
--split-names SPLIT NAME [SPLIT NAME ...]
the names to use for the splits
--split-ratios RATIO [RATIO ...]
the ratios to use for the splits
```