Unofficial helper utilities for using the Google Vision API. Currently supports object detection with functions for processing the list of objects returned by the API. See the usage.ipynb
notebook for usage.
Follow the instructions on https://cloud.google.com/docs/authentication/getting-started to download your Google Vision API key, which is a .json
file.
Read pricing. The first 1000 calls per month are free, additional calls are charged.
- Use
venv
->python3 -m venv venv
&source venv/bin/activate
pip install -e .
pip install -r requirements-dev.txt
- Run tests with
venv/bin/pytest tests/* --disable-warnings
- Black format with
venv/bin/black gvision/core.py
andvenv/bin/black tests/test_gvision.py