TrueMed is an AI-powered healthcare application designed to identify potentially counterfeit medicine packaging using computer vision and OCR-based verification techniques.
The platform combines deep learning image classification with batch ID verification to help users assess the authenticity of pharmaceutical products before consumption.
Counterfeit medicines pose a significant threat to public health, particularly in regions where pharmaceutical supply chains are difficult to verify.
Traditional verification methods often require manual inspection and domain expertise, making them inaccessible to everyday consumers.
TrueMed aims to provide a fast, automated, and user-friendly solution for preliminary counterfeit detection using AI.
- Upload medicine packaging images
- CNN-based classification model
- Detects potentially counterfeit products
- Instant prediction results
- Extracts batch numbers from packaging
- Uses Tesseract OCR for text recognition
- Supports automated batch validation workflows
- CSV-based batch database lookup
- Cross-checks extracted identifiers
- Improves verification reliability
- Displays prediction outcomes clearly
- Provides confidence-based insights
- Improves transparency for end users
User Upload
│
▼
React Frontend
│
▼
Flask API
│
┌────┴────┐
▼ ▼
OCR CNN Model
(Tesseract) (TensorFlow)
│ │
└────┬─────┘
▼
Verification Engine
│
▼
Prediction Result
- React
- Vite
- Tailwind CSS
- Flask
- Python
- TensorFlow
- Convolutional Neural Networks (CNN)
- Tesseract OCR
- Hugging Face
- User uploads a medicine package image.
- Image is sent to the Flask backend.
- TensorFlow model analyzes packaging authenticity.
- OCR extracts batch information.
- Batch ID is verified against stored records.
- Results are returned to the user interface.
- Multi-language packaging support
- Mobile application integration
- Barcode and QR-code verification
- Pharmaceutical database integration
- Advanced explainable AI visualizations
- Full-stack React + Flask architecture
- TensorFlow-based image classification
- OCR-powered text extraction
- Dynamic model loading from Hugging Face
- Healthcare-focused AI application
MIT License