GVision is a reverse image search app that use Google Cloud Vision API to detect landmarks and web entities from images, helping you gather valuable information quickly and easily.
š¤Ā About Google Cloud Vision API
Google Cloud Vision API is a machine learning-powered image analysis service that provides developers with tools to understand the contents of an image. It can detect objects, faces, text, logos, and more within an image.
šĀ Getting Started
Before using the app, you need to obtain a Google Cloud Vision API key.
- Go to theĀ Google Cloud Platform Console.
- Create a new project or select an existing one.
- Enable the Cloud Vision API for your project.
- Create a service account and download a private key in JSON format.
- Upload your Google Cloud Vision API key in JSON format by clicking on theĀ
Upload a config file
Ā button in the sidebar.
š ļøĀ Installation
To install the dependencies, simply run the following command:
pip install -r requirements.txt
šāāĀ Running the app
You can run the app locally by running the following command:
streamlit run gvision.py
šĀ Usage
Using GVision is simple and straightforward:
- Upload your Google Cloud Vision API key in JSON format by clicking on theĀ
Upload a config file
Ā button in the sidebar. - Once the key is uploaded, the app will automatically authenticate with the Google Cloud Vision API.
- Upload an image in JPG, JPEG, or PNG format by clicking on theĀ
Choose an image
Ā button. - Wait for the app to analyze the image. The app will detect landmarks and web entities present in the image and display them on a map.
- Choose between the different tile options to view the detected landmarks and web entities.
You can also find links to the Google Cloud Vision API documentation and pricing in theĀ Resources
Ā section of the sidebar.
To reset the app to its default state or to clear the uploaded image and results, click on theĀ Reset app
Ā button.
šĀ Resources
š¢Ā Mentions
- @PierrunoYT (https://github.com/PierrunoYT/photo-location-finder)