Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timonback/whatisthatplace-proxy
Proxy application to the Google Vision API for the Android application
https://github.com/timonback/whatisthatplace-proxy
cloud falcon google-vision-api python
Last synced: about 1 month ago
JSON representation
Proxy application to the Google Vision API for the Android application
- Host: GitHub
- URL: https://github.com/timonback/whatisthatplace-proxy
- Owner: timonback
- Created: 2017-10-14T17:40:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-21T17:09:59.000Z (over 6 years ago)
- Last Synced: 2024-11-02T19:41:51.626Z (3 months ago)
- Topics: cloud, falcon, google-vision-api, python
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WhatisthatPlace-Proxy
[![CircleCI](https://circleci.com/gh/timonback/WhatisthatPlace-Proxy.svg?style=svg)](https://circleci.com/gh/timonback/WhatisthatPlace-Proxy)
This is a small proxy/caching application to stand between an application and the Google Vision API. This shall ensure that the same image is only analyzed once (save money) and to allow an easy exchange of the associated google project instead of having to redeploy another application (mobile application) that might take some days.
## Prerequisite
Ensure to create and download your Google Creditials (JSON file) place it in the root folder as gkey.json.You can get them from [https://console.cloud.google.com/apis/credentials](https://console.cloud.google.com/apis/credentials). They are called Service account keys. Also enable the Vision API if you havent done so at [https://console.cloud.google.com/apis/api/vision.googleapis.com/overview](https://console.cloud.google.com/apis/api/vision.googleapis.com/overview).
## Run
Create a virtual environment
```
virtualenv -p python3.6 envlinux
source envlinux/bin/activate
```Just run ```run.sh```
The python dependencies will be installed automatically.
## Security
Make sure to protect your server! This proxy server requires an authentication token, when you move out of the testing phase, change it! [https://github.com/timonback/WhatisthatPlace-Proxy/blob/master/server/middleware/authentication.py](https://github.com/timonback/WhatisthatPlace-Proxy/blob/master/server/middleware/authentication.py)