Skip to content

PharmaScan is an Android application that leverages Gemini Pro Vision model to identify medicines and provide their details such as usage, dosage, diagnosis, etc. on-the-go.

License

NSTiwari/Medicine-Scan-with-Gemini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compressed (2) (1)

Open In Colab

Medicine Scan with Gemini

The PharmaScan app, powered by revolutionary Gemini Pro Vision API that empowers you to scan your medicines and analyze them for instant prescription information.

This app takes an image of any medicine and generates a prescription instantly covering the medicine name, symptoms it cures, primary diagnosis, dosage, and method of use.

compressed (2) (1) Gemini_Pro_Vision_App (2)

Steps to run:

  1. Clone the repository on your local machine.
  2. Open the project in Android Studio.
  3. Get the Gemini API key from Google AI Studio and paste it in the Android_App/app/src/main/java/com/example/pharmascan/GenerativeAiViewModelFactory.kt file on Line 26.
  4. Build the project.
  5. Install the Android app on your phone and enjoy using PharmaScan.

Resources:

  1. Try it on HF Spaces: https://huggingface.co/spaces/Aashi/Medicine-Prescription-with-Gemini
  2. Demo video: https://www.youtube.com/watch?v=Q06ABLwFGTQ
  3. Blog: https://aashi-dutt3.medium.com/pharmascan-with-gemini-1257d11940b5
  4. What more to do with Gemini: https://www.kaggle.com/code/prathameshbang/gemini-api-starter-notebook
  5. Generate API Key: https://makersuite.google.com/app/apikey
  6. Gemini: https://blog.google/technology/ai/gemini-api-developers-cloud/
  7. Gemini sample app: https://developer.android.com/studio/preview/gemini-template

Achievement:

The project is featured in the official MLDP Dec'23 Newsletter of Google Developer Experts on Medium.

Note: This app is just a proof of concept and should not be used as an actual prescription. Please visit a doctor for any health-related matter.

Acknowledgment:

Developed during Google's ML Developer Programs Gemini sprint, this project benefited from generous GCP credits that facilitated its completion. We express our gratitude to the MLDP team for the support provided.

About

PharmaScan is an Android application that leverages Gemini Pro Vision model to identify medicines and provide their details such as usage, dosage, diagnosis, etc. on-the-go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published