GithubHelp home page GithubHelp logo

guilh43 / gemini-vision-pro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haseeb-heaven/gemini-vision-pro

0.0 0.0 0.0 64 KB

Google Gemini Vision Web application with Speech and Text

Home Page: https://gemini-studio.streamlit.app

License: MIT License

Python 100.00%

gemini-vision-pro's Introduction

Gemini Vision Pro Logo

๐Ÿš€ Description: ๐Ÿš€ This is the amazing Google Gemini Vision Pro ๐Ÿ“ธ, a powerful tool that scans images, generates descriptions using Gemini AI Pro Vision API, and provides speech feedback ๐Ÿ—ฃ๏ธ. It also captures images using the webcam ๐Ÿ–ฅ๏ธ.

๐ŸŒŸ Introduction ๐ŸŒŸ

Google Gemini Vision Pro is a versatile application that combines image processing ๐Ÿ–ผ๏ธ, speech recognition ๐ŸŽค, and text-to-speech capabilities ๐Ÿ“ข. With this application, you can capture images using your webcam ๐Ÿ“ท, convert spoken words to text ๐Ÿ“, generate image descriptions ๐Ÿ“š, and even have the descriptions spoken back to you ๐Ÿ“ฃ.

Installation Guide

Step 1: Clone the repository

git clone https://github.com/haseeb-heaven/Gemini-Vision-Pro
cd Gemini-Vision-Pro

Step 2: Install the dependencies

pip install -r requirements.txt

Step 3: Run the application

streamlit run script.py

Step 4: Obtain the Google Palm API key and Setup the application

  1. Obtain the Google Palm API key.
  2. Visit the following URL: Google AI Studio
  3. Click on the Create API Key button.
  4. The generated key is your API key. Please make sure to copy it and paste it in the application settings.
  5. The API key is crucial for the functioning, Please ensure to keep it safe and do not share it with anyone.

Gemini AI settings:

Gemini Settings

AI Sections

The core AI sections of this project include:

  • ๐Ÿ“ท Webcam detection using WebRTC, OpenCV, and PIL
  • ๐Ÿ—ฃ๏ธ Speech-to-text conversion using Google Cloud Speech-to-Text API
  • ๐ŸŽ™๏ธ Text-to-speech conversion using Google Cloud Text-to-Speech API
  • ๐Ÿ“ธ Image processing using Gemini AI Pro Vision API

Features

  • ๐Ÿ“ท Webcam detection with real-time image capture
  • ๐Ÿ—ฃ๏ธ Speech-to-text conversion for spoken words
  • ๐ŸŽ™๏ธ Text-to-speech for generating spoken descriptions
  • ๐Ÿ“ธ Image processing using AI to provide detailed descriptions
  • ๐Ÿ“ Logging using Python's logging module
  • โš™๏ธ Error handling with Python's exception handling

WebUI - Application Showcase

YouTube demo:

Gemini Vision demo

Webcam with live feed:

Webcam with live feed

Gemini Ai Vision demo with object as Cap:

Gemini Ai Vision Cap

Gemini Ai Vision demo with Hand:

Gemini Ai Vision Hand

Gemini Ai Vision demo with Gesture:

Gemini Ai Vision Gesture

Packages Used

This project relies on various Python packages, including:

  • Streamlit - A web app framework used to build the application
  • Streamlit Webrtc - Used for capturing images from the webcam
  • OpenCV - Utilized for webcam image capture
  • PIL (Pillow) - Used for image processing and conversion
  • gTTS (Google Text-to-Speech) - Converts text to speech
  • SpeechRecognition - Converts speech to text
  • google.cloud.speech - Part of Google Cloud services for speech-to-text conversion

๐Ÿ“š Links and References

Follow these links for Google Gemini Vision Pro related content:

Versioning

  • Version: 1.0 : Initial Release

Contributing

We welcome contributions! Please follow our Contribution Guidelines to get started.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

  • HeavenHM
  • Date: 17-12-2023

gemini-vision-pro's People

Contributors

haseeb-heaven avatar guilh43 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.