An open API service indexing awesome lists of open source software.

https://github.com/robmarkcole/simplehound

Unofficial python API for Sighthound Cloud
https://github.com/robmarkcole/simplehound

Last synced: about 1 year ago
JSON representation

Unofficial python API for Sighthound Cloud

Awesome Lists containing this project

README

          

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![PyPI Version](https://img.shields.io/pypi/v/simplehound.svg)](https://pypi.org/project/simplehound/)

# 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`