An open source toolkit for evaluating the natural robustness of computer vision algorithms.
Project description
Natural Robustness Toolkit (NRTK)
Description
The nrtk
package is an open source toolkit for evaluating the natural robustness of computer vision
algorithms to various perturbations, including sensor-specific changes to camera focal length, aperture
diameter, etc. Functionality is provided through Strategy and Adapter patterns to allow for modular integration
into systems and applications.
Installation
The following steps assume the source tree has been acquired locally.
Install the current version via pip:
pip install nrtk
Alternatively, you can also use Poetry:
poetry install --sync --with dev-linting,dev-testing,dev-docs
See here for more installation documentation.
Getting Started
We provide a number of examples based on Jupyter notebooks in the ./examples/
directory to show usage
of the nrtk
package in a number of different contexts.
Documentation
Documentation snapshots for releases as well as the latest master are hosted on ReadTheDocs.
The sphinx-based documentation may also be built locally for the most up-to-date reference:
# Install dependencies
poetry install --sync --with dev-linting,dev-testing,dev-docs
# Navigate to the documentation root.
cd docs
# Build the docs.
poetry run make html
# Open in your favorite browser!
firefox _build/html/index.html
Developer tools
pre-commit hooks
pre-commit hooks are used to ensure that any code meets all linting and formatting guidelines required. After installing, this will always run before committing to ensure that any commits are following the standards, but you can also manually run the check without committing. If you want to commit despite there being errors, you can add --no-verify
to your commit command.
Installing pre-commit hooks:
# Ensure that all dependencies are installed
poetry install --sync --with dev-linting,dev-testing,dev-docs
# Initialize pre-commit for the repository
poetry run pre-commit install
# Run pre-commit check on all files
poetry run pre-commit run --all-files
Contributing
- We follow the general guidelines outlined in the JATIC Software Development Plan.
- We use the Git Flow branching strategy.
- See docs/release_process.rst for detailed release information.
- See CONTRIBUTING.md for additional contributing information.
License
Apache 2.0
POC: Brian Hu @brian.hu DPOC: Brandon RichardWebster @b.richardwebster
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nrtk-0.10.0.tar.gz
.
File metadata
- Download URL: nrtk-0.10.0.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.19 Linux/6.5.0-1020-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c9f835605c33f8f410703a7d767ba92a19dbc53ed90f323f1668f2cfe375a64 |
|
MD5 | 219e18eea4a266b79012c433e0b0f366 |
|
BLAKE2b-256 | 29cd06452c98c3f3f41806a88867804c70fbdc570f9f76ba5438651026c5e84e |
File details
Details for the file nrtk-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: nrtk-0.10.0-py3-none-any.whl
- Upload date:
- Size: 41.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.19 Linux/6.5.0-1020-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c7e92c406d1e9c6a44b74a0f03dd3cf9738d7602645853565457043ce66050c |
|
MD5 | 5ac096cea260627a687248b54f7e8580 |
|
BLAKE2b-256 | 9bc6152eda3c839d4c70daec70ce42a0097d87da43fd24654204a0a394dcb5ad |