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.
- Clone the repository on your local machine.
- Open the project in Android Studio.
- 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. - Build the project.
- Install the Android app on your phone and enjoy using PharmaScan.
- Try it on HF Spaces: https://huggingface.co/spaces/Aashi/Medicine-Prescription-with-Gemini
- Demo video: https://www.youtube.com/watch?v=Q06ABLwFGTQ
- Blog: https://aashi-dutt3.medium.com/pharmascan-with-gemini-1257d11940b5
- What more to do with Gemini: https://www.kaggle.com/code/prathameshbang/gemini-api-starter-notebook
- Generate API Key: https://makersuite.google.com/app/apikey
- Gemini: https://blog.google/technology/ai/gemini-api-developers-cloud/
- Gemini sample app: https://developer.android.com/studio/preview/gemini-template
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.
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.