Skip to content

djvampire123/practo_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practo - Expiry Date Detection & Pill Image Reconstruction API

Practo is a robust API designed to assist users in managing their health by providing key functionalities like expiry date detection for products and image reconstruction for various medications. This project leverages advanced machine learning and image processing techniques to extract and process crucial information from product images.

Features

  • Expiry Date Detection: Automatically detects the expiry date from product packaging using OCR and advanced text recognition.
  • Pill Image Reconstruction: Reconstructs images of pills to help users identify and verify medications through visual aids.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

python -m pip install -r requirements.txt

Installation A step by step series of examples that tell you how to get a development environment running:

Clone the repository:

git clone https://github.com/your-username/practo.git
cd practo

Install dependencies:

pip install -r requirements.txt

Set up environment variables: Ensure you have the necessary API keys and other configurations set up in your environment. Run the server:

python server.py

Usage To use the API, send a POST request to the endpoint with an image of the product or pill:

curl -X POST -F "image=@path_to_your_image.jpg" http://localhost:8000/predict

Built With

Tornado - The web framework used OpenCV - Image processing library Google Cloud Vision API - Used for OCR and text detection

License This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors