The challenge
Consumers in Pakistan often struggle to find accurate information and prices for medicines. There is no single trusted place to check them, and buyers face risks such as counterfeit products and supply gaps.
Our approach
We built a medicine discovery app that uses Google Gemini vision AI to identify a medicine from a photo of its packaging. It then looks up reference information in the OpenFDA database and combines it with local pharmacy data to show price and availability. The design is mobile-first and built to work on slow connections.
This is a typical healthcare software development project that combines AI and machine learning development with a simple web application.
What we delivered
- Photo-based medicine identification using Google Gemini vision AI
- OCR extraction of active ingredients from packaging
- Reference lookup against OpenFDA drug data
- Local pharmacy pricing and availability through pharmacy APIs
- Mobile-first interface designed for low bandwidth
How it works
The core of the app is a vision AI pipeline built on Google Gemini. A multi-step process analyses a smartphone photo of the medicine packaging, uses OCR (optical character recognition, which reads text from an image) to extract the active ingredients, and cross-references them with FDA reference data.
Because OpenFDA is a US dataset, it is used for ingredient-level reference information. Local price and availability come from pharmacy APIs.
Results
The result is a mobile-first tool that lets consumers check a medicine's information, price and availability from a photo.
Technology and data sources
- Next.js
- Google Gemini
- OpenFDA
- Node.js
Project visuals


Services used in this project
Questions about this project
Does the app give medical advice?
No. It is an information tool. It does not replace a doctor or pharmacist, and people should check with a professional before taking any medicine.
How does the app identify a medicine from a photo?
It sends the photo through a vision AI model (Google Gemini), reads the active ingredients from the packaging with OCR, and then looks them up in reference data.
Why use a US database for medicines in Pakistan?
OpenFDA is used for ingredient-level reference information. Local price and availability come from pharmacy data, so the Pakistan-specific details do not come from the US dataset.
Can Hamrix build an AI app like this for my business?
Yes. We first check that the data you need is available and reliable, then build a working version. See our AI and machine learning development and web application development services.




