DanyEle / WeAgainstVirus-FTD

Repository for the "PharmaQ" solution of "We Against Virus" 2020 Hackathon, featuring an AI-powered portal where local people can visualize the number of customers in the waiting line at pharmacies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

We Against Virus - PharmaQ - TJ, DG, FT

Authors: Daniele Gadler, Francesco Tosoni, Tajammul Mustafa

3rd place winners of the #WeAgainstVirus hackathon by "Hack the Alps" on 27th-28th March 2020.

We Against Virus

Pharmacy queues prototype: A simple portal where the local people can visualize the number of customers in the waiting line at a pharmacy. Grab your phone, take a picture, upload it on the website, and the number of people waiting in queue is going to be automatically detected!

Based on Flask, a small local DB and Nanonetes' API for people detection.

Requirements:

  • Linux
  • Python3.6+ (Python3.7 works as well)

Installation:

Install the requirements:

cd map_frontend
pip install -r requirements.txt

The database has to be moved into the tmp folder:

cp db_backend/test.db /tmp/test.db

Running:

1. Run the ML pipeline

Detect the number of people in queue at pharmacies based on the input images

Go to https://github.com/DanyEle/WeAgainstVirus-FTD/tree/master/ml_predict for more details

2. Run the DB application

cd db_backend
flask run --port 5001

3. Run the Google Map application

cd map_frontend
flask run --port 5000

4. Map's Frontend

Bolzano Pharmacies

About

Repository for the "PharmaQ" solution of "We Against Virus" 2020 Hackathon, featuring an AI-powered portal where local people can visualize the number of customers in the waiting line at pharmacies.

License:GNU General Public License v3.0


Languages

Language:Python 95.3%Language:HTML 2.7%Language:CSS 1.0%Language:Shell 1.0%