A web crowd counting interface. Post images, video, rtsp or webcam sreams.
Makefile : Contains commands and variables for the projet.
|_ backend : FastAPI server, wraps the crowd counting models.
|_ frontend : Web interface in Svelte.
|_ Conf for 'reverse proxy' nginx
- Install Docker and Docker-Compose locally.
- Install Make.
- Download the models :
make download-models
- Create artifacts
mv artifacts.sample artifacts
and replace with your variables.
- Build backend in dev mode :
make backend-dev
. - Get in the container :
make backend-exec
. - Launch unit tests
make test
.
- Build nginx in dev mode :
make nginx-dev
. Only the 80 port is exposed. - TODO: Create the prod target
- Build frontend in dev mode :
make frontend-dev
. (En modedev
) - TODO: Create client side application for the prod
- Go to http://localhost (with hot-reloading in dev mode)
- launch everything
make dev
.