Using the template files, you first need to create backend/.env and backend/cameras.py.
You can start a virtual environment with the following instructions.
You can start a virtual environment with the following instructions.
```sh
```sh
...
@@ -34,6 +35,8 @@ Run the server, `docker-compose up -d`
...
@@ -34,6 +35,8 @@ Run the server, `docker-compose up -d`
# Run the client-side React app in a different terminal window:
# Run the client-side React app in a different terminal window:
Using the template file, you first need to create frontend/.env.
```sh
```sh
$ cd frontend
$ cd frontend
$ npm install
$ npm install
...
@@ -44,6 +47,18 @@ Navigate to [http://localhost:3000](http://localhost:3000)
...
@@ -44,6 +47,18 @@ Navigate to [http://localhost:3000](http://localhost:3000)
<br/>
<br/>
# Documentation
## Algorithm
The crowd-counting AI model used is based on this repository:
https://github.com/ZhengPeng7/W-Net-Keras
The dataset used is ShanghaiTech Part B.
The model is given a 3-channel image and generates a density map of half the size of the input image.
The estimated number of people is obtained by summing on all pixels of the density map.
<br/>
# TODO
# TODO
## Coté algo
## Coté algo
- Accéder à d'autre infos telle que l'API des cours sur demande à la DISI pour intégrer ça aux prédictions (ex: cours en promo complète juste implique plus d'attente)
- Accéder à d'autre infos telle que l'API des cours sur demande à la DISI pour intégrer ça aux prédictions (ex: cours en promo complète juste implique plus d'attente)