Kali Linux

GVision : A Reverse Image Search App That Use Google Cloud Vision API To Detect Landmarks And Web Entities

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.

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

Please consider following and supporting us to stay updated with the latest info

R K

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

2 days ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

2 days ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

2 days ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

2 days ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

2 days ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

2 days ago