simplehound

Unofficial python API for Sighthound


License
Apache-2.0
Install
pip install simplehound==0.6

Documentation

Code style: black PyPI Version

simplehound

Unofficial python API for Sighthound, providing helper functions and classes for processing images and parsing the data returned by Sighthound cloud. Face, person and license plate detection are supported. See the usage.ipynb notebook for example usage.

Development

  • Create venv -> $ python3 -m venv venv
  • Use venv -> $ source venv/bin/activate
  • Install requirements -> $ pip install -r requirements.txt & $ pip install -r requirements-dev.txt
  • Run tests -> $ venv/bin/py.test --cov=simplehound tests/
  • Black format -> $ venv/bin/black simplehound/core.py and $ venv/bin/black tests/test_simplehound.py (or setup VScode for format on save)
  • Sort imports -> $ venv/bin/isort simplehound/core.py
  • To run the usage notebook, install jupyter in the venv and run $ jupyter notebook