Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
d35bd39
Customize CompreFace branding for 1BIP organization
claude Oct 21, 2025
72bea7d
Add Hikvision camera integration service for face recognition
claude Oct 21, 2025
1697e4a
Add real-time web dashboard and confirm offline operation
claude Oct 21, 2025
0047993
Add comprehensive Quick Start Guide for easy deployment
claude Oct 21, 2025
19e1cd5
Merge pull request #1 from badrmellal/claude/customize-compreface-org…
badrmellal Oct 21, 2025
483736f
Rebrand for Moroccan Airborne Troops and add M3 Max MPS GPU support
claude Oct 21, 2025
ef4642e
Add 1BIP (1st Airborne Infantry Battalion) as main unit designation
claude Oct 21, 2025
ba8b575
Merge pull request #2 from badrmellal/claude/customize-compreface-org…
badrmellal Oct 21, 2025
0355fa2
Update README.md
badrmellal Oct 21, 2025
24434b0
Update README.md
badrmellal Oct 21, 2025
95b548a
Conversion complète en français et mise à jour vers Brigade
claude Oct 22, 2025
a2c26fc
Merge branch 'master' into claude/customize-compreface-org-011CULsWgj…
badrmellal Oct 22, 2025
28680f6
Merge pull request #3 from badrmellal/claude/customize-compreface-org…
badrmellal Oct 22, 2025
43724d3
Correction des erreurs de démarrage et optimisation ARM64
claude Oct 22, 2025
4809b4a
Merge pull request #4 from badrmellal/claude/customize-compreface-org…
badrmellal Oct 22, 2025
df69232
merging
badrmellal Oct 22, 2025
dc287d4
Optimisation healthcheck pour M3 Max (ARM64)
claude Oct 22, 2025
0d8b314
Réduction drastique RAM pour compatibilité Docker Desktop
claude Oct 22, 2025
17b0129
Ajout scripts de diagnostic et test
claude Oct 22, 2025
994411a
Ajout guide résolution problème RAM M3 Max
claude Oct 22, 2025
75c62ff
Merge branch 'master' into claude/customize-compreface-org-011CULsWgj…
badrmellal Oct 22, 2025
e4594ef
Merge pull request #5 from badrmellal/claude/customize-compreface-org…
badrmellal Oct 22, 2025
7df2ae3
Correction des erreurs de démarrage et optimisation ARM64
claude Oct 22, 2025
192bfd8
Merge avec healthcheck désactivé pour M3 Max
claude Oct 22, 2025
2ce6499
Correction password dashboard pour correspondre à admin
claude Oct 22, 2025
69c1fb2
Merge pull request #6 from badrmellal/claude/customize-compreface-org…
badrmellal Oct 22, 2025
f370566
Désactivation healthcheck dashboard (fonctionne mais healthcheck échoue)
claude Oct 22, 2025
73db22f
Ajout script diagnostic pour core bloqué
claude Oct 22, 2025
9b7e179
Ajout PYTHONVERBOSE pour debug compreface-core bloqué
claude Oct 22, 2025
cc19660
Solution complète M3 Max: override et guide détaillé
claude Oct 22, 2025
ae90a78
Merge pull request #7 from badrmellal/claude/customize-compreface-org…
badrmellal Oct 22, 2025
72c88f3
Ajout galerie d'images et flux vidéo au dashboard 1BIP
claude Oct 25, 2025
cb9cc06
Système complet: Streaming vidéo + Images annotées + Pagination + Net…
claude Oct 25, 2025
6753d70
Merge pull request #8 from badrmellal/claude/customize-compreface-org…
badrmellal Oct 25, 2025
4e2d288
Ajout Flask pour serveur streaming vidéo
claude Oct 27, 2025
8c077ab
Merge pull request #9 from badr customize-compreface-org-011CULsWgj5q…
badrmellal Oct 27, 2025
72e5d0f
Ajout galerie d'images et flux vidéo au dashboard 1BIP
claude Oct 28, 2025
bf092f2
Solution complète M3 Max: override et guide détaillé
claude Oct 28, 2025
d649267
Merge pull request #10 from badrmellal/claude/customize-compreface-or…
badrmellal Oct 28, 2025
2390434
updates from local
badrmellal Oct 28, 2025
a9e77c8
Merge branch 'master' of https://github.com/badrmellal/CompreFaceMode…
badrmellal Oct 28, 2025
99af116
changing to arcFace instead of mobilenet
badrmellal Oct 28, 2025
a6c9b59
Ajout module complet de gestion du personnel avec CompreFace
claude Oct 28, 2025
7c9ce6b
Merge pull request #11 from badrmellal/claude/customize-compreface-or…
badrmellal Oct 28, 2025
78ecaca
Fix: Ajout dépendance requests et config API CompreFace
claude Oct 28, 2025
d357f88
Merge pull request #12 from customize-compreface-org-011CULsWgj5qre3Z…
badrmellal Oct 28, 2025
6dab944
Fix: Correction syntaxe JavaScript - remplacement docstrings Python
claude Oct 28, 2025
731b47f
Merge pull request #13 from customize-compreface-org-011CULsWgj5qre3Z…
badrmellal Oct 29, 2025
336ca11
Update .env
badrmellal Oct 29, 2025
05bb20d
Delete docker-compose.override.yml
badrmellal Oct 29, 2025
9b7ba2f
Delete M3_MAX_GPU_GUIDE.md
badrmellal Oct 29, 2025
5464aae
Delete M3_MAX_SOLUTION_COMPLETE.md
badrmellal Oct 29, 2025
1340e86
Delete OFFLINE_OPERATION_GUIDE.md
badrmellal Oct 29, 2025
ae75f38
Remove classified info and add update credit
badrmellal Oct 29, 2025
fbd352f
Delete CORRECTION_ERREURS.md
badrmellal Oct 29, 2025
22e6f47
Update DEPLOYMENT_GUIDE.md
badrmellal Oct 29, 2025
3a3470b
Delete GUIDE_INSTALLATION_FR.md
badrmellal Oct 29, 2025
e9115e1
Simplify RAM resolution documentation
badrmellal Oct 29, 2025
0c1d264
Update test script header message
badrmellal Oct 29, 2025
cfa5f8c
Delete BRANDING_CUSTOMIZATION.md
badrmellal Oct 29, 2025
f8570ba
Optimisation majeure du streaming vidéo - Réduction 80% bande passante
claude Oct 29, 2025
ea7163e
Merge pull request #14 from customize-compreface-org-011CULsWgj5qre3Z…
badrmellal Oct 29, 2025
bc35eae
Update camera_config.env
badrmellal Oct 29, 2025
15bd87b
Adaptation structure organisationnelle 1BIP - Bataillons réels
claude Oct 29, 2025
ab5995a
Merge pull request #15 from compreface-org-011CULsWgj5qre3ZdcAZopAs
badrmellal Oct 29, 2025
e4b4ad9
Delete OPTIMISATION_STREAMING.md
badrmellal Oct 29, 2025
4bae88d
Update and rename STRUCTURE_1BIP.md to STRUCTURE.md
badrmellal Oct 29, 2025
5e1ee6e
Update RESET_DATABASE.sh
badrmellal Oct 29, 2025
0026cf5
Remove comment about Moroccan Airborne Troops
badrmellal Oct 29, 2025
5de9f6c
Update DIAGNOSTIC_COMPLET.sh
badrmellal Oct 29, 2025
db8ee05
Rename camera integration service to 'Mellal'
badrmellal Oct 29, 2025
8c4dc5f
Rename video streaming server from 1BIP to MELLAL
badrmellal Oct 29, 2025
5b40708
Update README.md
badrmellal Oct 29, 2025
0d328d5
Update README.md
badrmellal Oct 29, 2025
919c8db
Config: Intervalle de rafraîchissement automatique 10s → 30s
claude Oct 29, 2025
652a878
Ajout filtres avancés dans Rapports d'Opérations + clarification stre…
claude Oct 29, 2025
5e9d84f
Merge pull request #16 from customize-compreface-org-011CULsWgj5qre3Z…
badrmellal Oct 29, 2025
fb7d35a
Update STREAMING_VIDEO_TECHNIQUE.md
badrmellal Oct 29, 2025
89463ae
ui fixes
badrmellal Oct 29, 2025
c24b260
Fix critique: Extraction métadonnées CompreFace dans reconnaissance
claude Oct 29, 2025
7ede185
Merge pull request #17 from customize-compreface-org-011CULsWgj5qre3Z…
badrmellal Oct 29, 2025
3194388
Fix: Prévention des soumissions multiples - ajout personnel
claude Oct 29, 2025
800b99c
Update FIX_METADATA_EXTRACTION.md
badrmellal Oct 29, 2025
3612bcb
Update IMPLEMENTATION_COMPLETE.md
badrmellal Oct 29, 2025
fa96a87
Merge pull request #18 from customize-compreface-org-011CULsWgj5qre3Z…
badrmellal Oct 30, 2025
fd64271
Fix critique: Guide de résolution état corrompu CompreFace
claude Oct 30, 2025
4c60edf
Merge pull request #19 from customize-compreface-org-011CULsWgj5qre3Z…
badrmellal Oct 30, 2025
5d6408a
Fix critique: Extraction métadonnées CompreFace dans reconnaissance
claude Oct 30, 2025
5aba4f5
Merge pull request #20 from badrmellal
badrmellal Oct 30, 2025
96aae7d
Debug: Add logging to personnel list endpoint
claude Oct 30, 2025
2581abc
Fix critique: Clé API correcte pour reconnaissance 1BIP
claude Oct 30, 2025
0ebb034
Merge branch 'master' into claude/customize-compreface-org-011CULsWgj…
badrmellal Oct 30, 2025
203b5e6
Fix: Clé API correcte 1°BIP Face Recognition
claude Oct 30, 2025
1a045cc
Fix: Clé API correcte 1°BIP Face Recognition
claude Oct 30, 2025
4ea90b2
Fix: URL encoding + low similarity as Unknown
claude Oct 30, 2025
2730089
Fix architecture: Store metadata in our PostgreSQL DB
claude Oct 30, 2025
8596f79
Fix: Camera service fetches metadata from PostgreSQL
claude Oct 31, 2025
710a19e
Docs: Complete system verification and testing guide
claude Oct 31, 2025
75c4ab3
Fix: Gallery tab filters now populate from database
claude Nov 3, 2025
8fde320
Feature: Add confidence scores to Reports export
claude Nov 3, 2025
1dc78db
Backend: Add AVG(similarity) to attendance report query
claude Nov 3, 2025
63a60b9
Feature: Add personnel edit/modify functionality
claude Nov 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 46 additions & 10 deletions .env
Original file line number Diff line number Diff line change
@@ -1,26 +1,62 @@


registry=exadel/

# Database Configuration
postgres_username=postgres
postgres_password=postgres
postgres_db=frs
postgres_password=admin
postgres_db=morocco_1bip_frs
postgres_domain=compreface-postgres-db
postgres_port=5432

# Email Configuration (for user registration and notifications)
# Set enable_email_server=true and configure SMTP settings for production
email_host=smtp.gmail.com
email_username=
email_from=
email_password=
enable_email_server=false

# Storage Configuration
save_images_to_db=true
compreface_api_java_options=-Xmx4g
compreface_admin_java_options=-Xmx1g
max_file_size=5MB
max_request_size=10M
max_detect_size=640
uwsgi_processes=2
uwsgi_threads=1

# Performance Tuning for Military Deployment (300-500 personnel per unit)
# ⚠️ IMPORTANT: Ajuster selon la RAM allouée à Docker Desktop
# Pour M3 Max avec Docker Desktop:
# - RAM Docker < 8GB: Utiliser config "Minimal" ci-dessous
# - RAM Docker 8-16GB: Utiliser config "Standard"
# - RAM Docker > 16GB: Utiliser config "High Performance"

# CONFIG MINIMAL (Docker Desktop avec 4-8GB RAM)
# compreface_api_java_options=-Xmx2g # 2GB pour API (minimal fonctionnel)
compreface_admin_java_options=-Xmx2g # 2GB pour Admin service on server-class hardware
max_file_size=10MB # Higher for HD camera images
max_request_size=20M # Higher for HD images
max_detect_size=1440 # Support up to 4K resolution

# Python Worker Configuration (for face recognition processing)
# CONFIG MINIMAL: 1 worker pour économiser RAM
# uwsgi_processes=1 # 1 worker (économie RAM, suffisant pour tests)
# uwsgi_threads=2 # 2 threads par worker

# Si vous avez plus de RAM dans Docker Desktop, décommentez ci-dessous:
# CONFIG STANDARD (8-16GB RAM Docker):compreface_api_java_options=-Xmx4g
# uwsgi_processes=2
# uwsgi_threads=2
#
# CONFIG HIGH PERFORMANCE (16GB+ RAM Docker):
compreface_api_java_options=-Xmx8g
uwsgi_processes=8
uwsgi_threads=2

# Timeout Configuration
connection_timeout=10000
read_timeout=60000
ADMIN_VERSION=1.2.0
API_VERSION=1.2.0
FE_VERSION=1.2.0
CORE_VERSION=1.2.0
CORE_VERSION=1.2.0-arcface-r100
POSTGRES_VERSION=1.2.0

# Enable AVX2-optimized native binaries for InsightFace on modern Xeon CPUs
ND4J_CLASSIFIER=linux-x86_64-avx2
Loading
Loading