Initial commit — Serveur Lucas SmartEye

API réception alertes chute (SmartEye/YOLO), analyse IA (Gemini 2.5 Flash),
gestion alertes avec escalade (watchdog), notifications Firebase,
dashboard web, documentation MkDocs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Debian
2026-03-14 21:26:06 +01:00
commit 24dbc7cd6a
64 changed files with 9677 additions and 0 deletions

39
check_missing_json.sh Executable file
View File

@@ -0,0 +1,39 @@
#!/bin/bash
# Script pour identifier les images sans fichier JSON sidecar
cd /var/www/lucas/clients/Demo_01
echo "==================================================================="
echo "VÉRIFICATION DES IMAGES SANS ANALYSE JSON"
echo "==================================================================="
echo ""
missing_count=0
total_count=0
for img in $(ls -t *.jpg | head -30); do
total_count=$((total_count + 1))
if [ ! -f "${img}.json" ]; then
missing_count=$((missing_count + 1))
timestamp=$(stat -c %y "$img" 2>/dev/null | cut -d'.' -f1)
echo "$img"
echo " Date: $timestamp"
echo ""
fi
done
echo "==================================================================="
echo "RÉSUMÉ (30 dernières images)"
echo "==================================================================="
echo "Total: $total_count images"
echo "Avec JSON: $((total_count - missing_count)) images"
echo "Sans JSON: $missing_count images"
if [ $missing_count -gt 0 ]; then
echo ""
echo "⚠️ Il y a des images récentes sans analyse sauvegardée"
echo " Cela peut indiquer des erreurs pendant l'analyse IA"
else
echo ""
echo "✓ Toutes les images récentes ont une analyse"
fi