Skip to content

KaushikNakashe/HackerS_Stratagem-2K23

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hospital Check-In System

(Using Face Recognition)

Table of Contents

About the Project

This browser-based patient registration application allows patients to upload their details along with their scanned photo while being at their homes. On the patient's arrival at the hospital, only facial recognition is sufficient as registration information is already there in the app database. Face recognition at hospital also ensures that the patient is personally present and so token cab be issued for queuing outside the relevant room. This little solution can save substantial time at the registration desk, thereby improving the overall efficiency and reduce patient's sufferings.

There are 3 major features of the application -

  1. Patient Registration from home based on personal details, aadhar card and a scanned photo
  2. Patient check-in at the hospital using face recognition
  3. Hospital administration's option to view the registration data

Built With

Getting Started

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/kritij19/Hospital_CheckIn.git

2a. Create a Virtual Environment (Optional)

python -m venv venv

2b. Activate the virtual environment

.\venv\Scripts\activate
  1. Install the requirements and dependancies
pip install -r requirements.txt
  1. Run setup_db.sql in your MySQL Server

Usage

I) New user registration:

  1. Run the following command
python registration\registration.py -u <MySQL_database_user> -p <MySQL_database_password>
  1. View the application on
http://127.0.0.1:5000/

II) Face recognition based CheckIn:

Note: You will have to stop the execution of one application to access the other. (For windows: Ctrl + C)

  1. Run the following command
python face_recognition/face_recognition.py -u <MySQL_database_user> -p <MySQL_database_password>
  1. View the application on
http://127.0.0.1:5000/

III) Hospital Admin Side:

Note: You will have to stop the execution of one application to access the other. (For windows: Ctrl + C)

  1. Run the following command
python hospital_admin/hospital_admin.py -u <MySQL_database_user> -p <MySQL_database_password>
  1. View the application on
http://127.0.0.1:5000/

User Manual

Module - Patient Registration

  1. Fill up the form with personal details, Aadhar card and a scanned photo of the patient. After filling all details, press Submit.

Patient Registration part 1

Patient Registration part 2

  1. On Submit, the application validates if Aadhar number exists in the database, in that case, gives an error message
  2. If the Aadhar number does not exists, checks if the photo uploaded is proper, then uses Azue API to create a person id, and stores all relevant details in the database, and shows a success message to the user

Module - Patient Checkin

  1. The patient (usder) to capture his photo using the webcam. Use the Take Snapshot option to click picture

Photo Capture at checking

  1. Once picture is clicked, it shows on the right hand side, and then click on Submit to compare

Comparing

  1. If the photo captured at the hospital matches with the photo uploaded earlier, then a success message is shown

Successful Checkin

Module - Hospital Administration to view Patient Records

  1. The hospital administration staff has the option to view patients data. For this, they have to register themselves in the app one time.

Hospital Administrator Registration

  1. Once Registration is done, they need to login using the credentials used during registration

Hospital Administrator Login

  1. The administrator can see all patients' data in a tabular format

View Patient Records

  1. In case they want to view a particular patient's data, then they can click on the view button for that row

View Patient Details

Resources Used

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 79.4%
  • HTML 11.5%
  • Python 7.4%
  • JavaScript 1.7%