Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waikato-ufdl/wai-annotations-imgstats
wai.annotations plugin for generating statistics for image datasets.
https://github.com/waikato-ufdl/wai-annotations-imgstats
image-classification object-detection python3
Last synced: about 1 month ago
JSON representation
wai.annotations plugin for generating statistics for image datasets.
- Host: GitHub
- URL: https://github.com/waikato-ufdl/wai-annotations-imgstats
- Owner: waikato-ufdl
- License: apache-2.0
- Created: 2022-03-10T04:17:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-13T00:02:02.000Z (over 2 years ago)
- Last Synced: 2024-11-14T03:22:09.637Z (about 1 month ago)
- Topics: image-classification, object-detection, python3
- Language: Python
- Homepage: https://ufdl.cms.waikato.ac.nz/wai-annotations-manual/
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
# wai-annotations-imgstats
wai.annotations plugin for generating statistics for image datasets.## Plugins
### AREA-HISTOGRAM-IS
Generates histograms of the area (normalized or absolute) occupied by the annotations.#### Domain(s):
- **Image Segmentation Domain**#### Options:
```
usage: area-histogram-is [-a ALL_LABEL] [-b] [--label-key LABEL_KEY] [-n] [--num-bins NUM_BINS] [-o OUTPUT_FILE] [-f OUTPUT_FORMAT]optional arguments:
-a ALL_LABEL, --all-label ALL_LABEL
the label to use for all the labels combined
-b, --force-bbox whether to use the bounding box even if a polygon is present (object detection domain only)
--label-key LABEL_KEY
the key in the meta-data that contains the label.
-n, --normalized whether to use normalized areas (using the image size as base).
--num-bins NUM_BINS the number of bins to use for the histogram.
-o OUTPUT_FILE, --output OUTPUT_FILE
the file to write the histogram to; uses stdout if omitted
-f OUTPUT_FORMAT, --format OUTPUT_FORMAT
the format to use for the output, available modes: csv, json
```### AREA-HISTOGRAM-OD
Generates histograms of the area (normalized or absolute) occupied by the annotations.#### Domain(s):
- **Image Object-Detection Domain**#### Options:
```
usage: area-histogram-od [-a ALL_LABEL] [-b] [--label-key LABEL_KEY] [-n] [--num-bins NUM_BINS] [-o OUTPUT_FILE] [-f OUTPUT_FORMAT]optional arguments:
-a ALL_LABEL, --all-label ALL_LABEL
the label to use for all the labels combined
-b, --force-bbox whether to use the bounding box even if a polygon is present (object detection domain only)
--label-key LABEL_KEY
the key in the meta-data that contains the label.
-n, --normalized whether to use normalized areas (using the image size as base).
--num-bins NUM_BINS the number of bins to use for the histogram.
-o OUTPUT_FILE, --output OUTPUT_FILE
the file to write the histogram to; uses stdout if omitted
-f OUTPUT_FORMAT, --format OUTPUT_FORMAT
the format to use for the output, available modes: csv, json
```### LABEL-DIST-IC
Generates a label distribution.#### Domain(s):
- **Image Classification Domain**#### Options:
```
usage: label-dist-ic [-o OUTPUT_FILE] [-f OUTPUT_FORMAT] [-p]optional arguments:
-o OUTPUT_FILE, --output OUTPUT_FILE
the file to write the statistics to; uses stdout if omitted
-f OUTPUT_FORMAT, --format OUTPUT_FORMAT
the format to use for the output, available modes: csv, json
-p, --percentages whether to output percentages instead of counts.
```### LABEL-DIST-IS
Generates a label distribution.#### Domain(s):
- **Image Segmentation Domain**#### Options:
```
usage: label-dist-is [-o OUTPUT_FILE] [-f OUTPUT_FORMAT] [-p]optional arguments:
-o OUTPUT_FILE, --output OUTPUT_FILE
the file to write the statistics to; uses stdout if omitted
-f OUTPUT_FORMAT, --format OUTPUT_FORMAT
the format to use for the output, available modes: csv, json
-p, --percentages whether to output percentages instead of counts.
```### LABEL-DIST-OD
Generates a label distribution.#### Domain(s):
- **Image Object-Detection Domain**#### Options:
```
usage: label-dist-od [--label-key LABEL_KEY] [-o OUTPUT_FILE] [-f OUTPUT_FORMAT] [-p]optional arguments:
--label-key LABEL_KEY
the key in the meta-data that contains the label.
-o OUTPUT_FILE, --output OUTPUT_FILE
the file to write the statistics to; uses stdout if omitted
-f OUTPUT_FORMAT, --format OUTPUT_FORMAT
the format to use for the output, available modes: csv, json
-p, --percentages whether to output percentages instead of counts.
```