https://github.com/bencevans/detection-color
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.1%) to scientific vocabulary
Repository
Basic Info
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Detection Color
Calculating the optimal color for bounding boxes in object detection.
Introduction
Detection models are identify objects in images. Visualizing the results of these models is important for understanding the model's performance. One way to visualize the results is to draw bounding boxes around the detected objects. The color of the bounding box can be used to indicate the confidence of the detection or the class of the object. This package provides a way to calculate the optimal color for bounding boxes.
Methodology
Utilising a Camera Trap Dataset, we take the mean RGB values of the pixels 1px within and 1px outside of a 1px bounding box around each object. We then calculate the color with the highest contrast ratio to the background color. This is the optimal color for the bounding box.
Results
ENA24
Mean: rgb(93, 96, 79)
Mean: #5d604f
Complimentary color (calc): #604f5d
Installation
bash
$ cargo install git+https://github.com/bencevans/detection-color
Usage
```bash $ detection-color --help Calculate the mean pixels of 1px inset and outset boxes around each object in a COCO dataset
Usage: detection-color
Arguments:
Options: -h, --help Print help information -V, --version Print version information ```
License
MIT
Owner
- Name: Ben Evans
- Login: bencevans
- Kind: user
- Location: London, UK
- Company: Institute of Zoology, ZSL
- Website: https://bencevans.io/
- Twitter: bencevans
- Repositories: 282
- Profile: https://github.com/bencevans
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0