- In the project root directory run
npm install
to install server dependencies - Change to the client directory with
cd client
and runnpm install
to install client dependencies - For ml server dependencies install;
- python 3.6
- flask
- pandas
- numpy
- opencv-python
- pickle
- tensorflow 2.1
Open a separate terminal for each of the following and run simultaneously
In project root folder run npm start
The server connects to a cloud database, if a local database is to be used, change the db connection in config file
Change to ml directory cd ml_engine
then run python app.py
to start the server
Change to client directory cd client
then run npm start
This will open a browser tab with a login screen
Note: patient IDs can be retrieved from the database
if using existing private cloud database use existing patients;
PatientID 1: 5e5ffc4d64acde42e7517f4f
PatientID 2: 5f22827f0697006bbd4819c7
For admin;
- Login with credentials username: admin password: password
- Register new staff or patient
For consultation;
- Login with credentials username: kangel password: password
- Search for a patient with ID: 5e5ffc4d64acde42e7517f4f
- Fill in consultation form (if patient has pending consulation it will open it)
- Save then go to lab
- After getting lab results search for patient again and get diagnosis (button)
- Diagnosis can be seen in diagnosis tab.
- Save
For lab;
- Login with credentials username: kalice password: password
- Search for patient with ID: 5e5ffc4d64acde42e7517f4f (same as for consultation)
- Fill in lab results and save
For pap-smear test;
- Login with credentials username: ksarah password: password
- Search for a patient with ID: 5e5ffc4d64acde42e7517f4f
- Upload pap-smear image, diagnosis is automatically retrieved
- Save