Giter Site home page Giter Site logo

anooshd7 / drugdispenser Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.43 MB

A device that dispenses the correct amount of medication to the user, controlled by a Raspberry Pi. It uses facial recognition for authentication and dispenses medication through the prototype, controlled by servo motors.

License: MIT License

Python 79.51% HTML 6.36% CSS 9.48% JavaScript 4.64%

drugdispenser's Introduction

DrugDispenser

We used this project for the 2023 Heal-o-code Hackathon where almost 30 teams, with 150 people participated. We placed second place at the Hackathon and won a prize of ₹10000. The project was made using a Raspberry Pi, a camera module, and two servo motors. The frontend was made using HTML, CSS, and JavaScript. The backend was made using Firebase. The project was made in 24 hours.

Our motto: Dispensing safety somewhere near you.

It is a device made to help people get the right amount of medication, thus preventing any forms of overdose or lack of a certain medicine. This device stores the user’s face and verifies their identity via facial recognition, checks its database to see how many pills are in the person's dosage, then dispenses the appropriate dosage of pills. This eliminates any error in taking medication and makes the process smoother. If this product were utilized by pharmacies, the doctor prescribing would have control of the dosage stored in the system.

This device can be constructed using a Raspberry Pi and two servo motors. We can mount these, as well as multiple medicine tubes, to a wooden board to create the prototype. When a new user uses the device for the first time, their face is scanned and added to the database along with their details and dosage information. Later, when the user needs to take their pills their face is scanned and if it matches with the database, the pills are dispensed into a tray.

It dispenses individual pills, using servo motors connected to the Pi, by opening and closing for a calibrated number of times. The device consists of multiple medicine tubes for different types of medicine.

Running the project

To run the project, run the index.html file in the frontend folder using a live server. Also add your Firebase config details to the user.js file

drugdispenser's People

Contributors

anooshd7 avatar anshulbaliga7 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

anshulbaliga7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.