Skip to content

SharifMrCreed/gemini-image-describer

Repository files navigation

Gemini Image Describer

Sharif Gemini Image Describer

Heres the Youtube Video

Overview

The Gemini Image Describer is an Android application that uses Google's generative A.I Kotlin Client library to provide detailed descriptions of images. The app utilizes the Gemini Pro Vision AI model to not only describe the content within images but also provide context and explanatory observations.

Setup Instructions

To set up the Gemini Image Describer project for development, follow these steps:

  1. Clone the repository to your local machine.
  2. Open the project in your Android development environment (e.g., Android Studio).
  3. Navigate to the MainViewModel and Locate the GenerativeModel class and insert your API key where indicated by "YOUR_API_KEY_HERE".
  4. Build the project to resolve all dependencies.
  5. Run the application on an emulator or physical device to verify the setup.

Usage

To use the Gemini Image Describer:

  1. Launch the app on your Android device.
  2. Select and image from your gallery.
  3. Tap on the 'Describe Image' button to generate a description.
  4. The app will display an 'Explanation' section with a detailed description of the image and an 'Observation' section with insights into the content or context of the image.

Main Features

  • Image Description: Generates detailed descriptions of images using a state-of-the-art AI model.
  • Contextual Observations: Provides additional observations about the image's context or potential implications.
  • Markdown Support: Descriptions are provided in markdown format for easy readability and formatting.

License

MIT License

Copyright (c) 2023 Ssemujju Sharif

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Thank you for your interest in the Gemini Image Describer project!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages