diff --git a/README.md b/README.md index db9ebef1c1f1cf0488f3ee7d9a3a6d6bbf625834..5a6add68b759839d8335b6938de512ab66b94a5b 100644 --- a/README.md +++ b/README.md @@ -82,3 +82,9 @@ The estimated number of people is obtained by summing on all pixels of the densi ## Documentation - Documenter le projet au maximum - Réfléchir à opensourcer (ça peut permettre d'étendre plus facilement à d'autre RU) + +## Déploiement +- Monitorer la VM de prod avec Datadog +- Écrire un rôle Ansible de déploiement en prod +- Monitorer la VM de staging avec Datadog +- Écrire un rôle Ansible de déploiement en staging diff --git a/backend/cameras.py b/backend/cameras.py new file mode 100644 index 0000000000000000000000000000000000000000..276a8d2c6b9370c7cbe4b25af81474ee915be18c --- /dev/null +++ b/backend/cameras.py @@ -0,0 +1,43 @@ +restaurants = [ + { + "restaurant": "local", + "a_factor": 30, + "b_factor": 120, + "cameras": + [ + { + "IP": "10.148.38.3", + "user": "viarezocam", + "password": "superponey", + "stream": "stream1", + "mask_points": + [ + [ + [70, 370], + [420, 720], + [1280, 720], + [1280, 250], + [930, 215], + [450, 550], + [130, 350] + ] + ], + "checkouts": + [ + { + "x1": 380, + "x2": 435, + "y1": 740, + "y2": 780 + }, + { + "x1": 300, + "x2": 350, + "y1": 830, + "y2": 880 + } + ] + } + ] + } +]