hackquest logo

ExpiryMitra

Expiry Mitra uses AI and blockchain to check medicine expiry from images and logs the data on opBNB, helping users avoid expired or fake medicines.

Videos

Description

Problem Statement :-

Counterfeit and expired medicines are a silent threat to public health. In many regions, users unknowingly consume unsafe drugs due to faded or unclear expiry labels. There is no simple, transparent system to verify medicine authenticity before consumption.

Our Solution: Expiry Mitra

Expiry Mitra is an AI-powered tool that lets users scan medicine strips to detect expiry and manufacturing dates using OCR. It instantly checks if the medicine is expired and records verified data on the opBNB blockchain, ensuring the result is transparent and tamper-proof.

Why Blockchain?

Storing data on opBNB ensures:

  • Tamper-proof verification records

  • Transparent logs accessible to users and regulators

  • Trusted, decentralized audit trail of medicines

Working :-

  1. Upload photo of medicine strip

  2. AI extracts & verifies expiry info

  3. Status shown: Valid / Expired / Unclear

  4. Data logged on opBNB for transparency

Tech Stack :-

  • React.js – User Interface

  • Tesseract.js – OCR Engine

  • opBNB + Solidity – Blockchain Storage

  • MetaMask – Wallet Integration

Real-World Impact :-

  • Prevents consumption of expired medicines

  • Builds trust in medical supply chains

  • Empowers users with on-the-spot verification

  • Ideal for both urban and underserved rural areas

  • Scalable for pharmacies, clinics, and health NGOs

Progress During Hackathon

During the hackathon, we successfully developed the core functionality of Expiry Mitra. We built a working React.js frontend where users can upload medicine strip images. Using Tesseract.js (OCR), the app extracts expiry/manufacturing dates and checks if the medicine is still valid. We deployed a smart contract on the opBNB testnet that securely logs verified medicine data. We also integrated MetaMask wallet support to interact with the blockchain. Key achievements: 1. Built AI-OCR pipeline for image-based expiry extraction. 2. Developed a user-friendly web interface. 3. Deployed smart contract on opBNB and tested with live data. 4. Connected the frontend to the blockchain . 5. End-to-end flow from image upload → expiry check → blockchain logging. This working prototype shows real-time expiry verification and secure storage of results, setting the foundation for full-scale deployment.

Tech Stack

React
Web3
Ethers
Solidity
Tesseract.js

Fundraising Status

Currently not fundraising; focused on building the MVP and testing real-world use cases. Open to early-stage support or grants after validation.

Sector
RWAAIOther