Skip to main content

An open source toolkit for evaluating the natural robustness of computer vision algorithms.

Project description

Natural Robustness Toolkit (NRTK)

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

License

Apache 2.0

Contacts

Principal Investigator: Brian Hu (Kitware) @brian.hu

Product Owner: Austin Whitesell (MITRE) @awhitesell

Scrum Master / Tech Lead: Brandon RichardWebster (Kitware) @b.richardwebster

Deputy Tech Lead: Emily Veenhuis (Kitware) @emily.veenhuis

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nrtk-0.12.0.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

nrtk-0.12.0-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

Details for the file nrtk-0.12.0.tar.gz.

File metadata

  • Download URL: nrtk-0.12.0.tar.gz
  • Upload date:
  • Size: 33.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.20 Linux/6.5.0-1020-aws

File hashes

Hashes for nrtk-0.12.0.tar.gz
Algorithm Hash digest
SHA256 45c56b0a40c6c278984ab84f1b2316af89e10dd969311f1b99f129f0c9a78d37
MD5 ba7f37bc0cd2fc3b9d8cf94c65810b71
BLAKE2b-256 735c9b41e4c3955af8cf5c204c505d2b1e01e71c047375751dd94fea900a5cfb

See more details on using hashes here.

File details

Details for the file nrtk-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: nrtk-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 54.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.20 Linux/6.5.0-1020-aws

File hashes

Hashes for nrtk-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 478b2ff809fed4e078d37aaf347db147697cd32d8f1a3c8d6bacca1808e6a3f9
MD5 413a004d4acaed3e600f7b08c3fc6302
BLAKE2b-256 c362f2281b6c4e761bc6dc316c490dd5e7279f872252d1daf6a5a0252a2d5c50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page