Welcome to the GitHub repository for the Medication Label Scanner! This web service was developed to streamline the process of entering medication information into the Pilly App, making it more efficient and user-friendly.
The Pilly App faces a common issue amongst its users: manual data entry is too long and time-consuming. To address this, we created a web service that automates this process. Users simply take a photo of their medication label and upload it. The service then interprets the label, identifies the medication, and returns the relevant data to the user.
This application is developed in Python and is hosted on Google Cloud App Engine. It leverages the power of the Google Vision API to recognize text within images. The text is then matched against a database of medication names, compiled using the DailyMed (NLM) API. Our service currently achieves a 65% accuracy rate in interpreting medication labels and is continuously being improved.
- Python
- Automated Medication Entry: users can upload a photo of their medication label via an HTTP POST request. The service processes the image and returns organized medication information.
- Google Cloud App Engine: chosen for its cost efficiency and self-maintaining infrastructure, Google Cloud App Engine allocates resources on demand and manages the infrastructure, allowing us to focus on improving the application.
- Flask Web Framework: chosen for its simplicity and ability to abstract basic web operations. It is used explicitly in routing HTTP requests via the route decorator.
- Google Vision API: used to extract text from images of medication labels. Accessing the API required authenticating our application and authorizing its function.
- DailyMed (NLM) API: utilized to create a SQL database of medication label data. This database is then queried to match against the text output from the Vision API, enabling the identification of medications.
Visit our website to see a demonstration and gain insights into the implementation. Medication Label Reader
By automating the entry of medication information, we aim not only to enhance the user experience but also to contribute to more efficient healthcare practices. We are committed to continuous improvement and deeply value the feedback and contributions of our users and developers.
Thank you for your interest and support. Together, we can make a meaningful impact.