Skip to content

robmarkcole/simple-google-vision

Repository files navigation

Code style: black PyPI Version build status

simple-google-vision

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.

Google Vision API key file & API Pricing

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.

Development

  • 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 and venv/bin/black tests/test_gvision.py