Model Details - cnnsyhnx/CrowdInsight GitHub Wiki

🔬 Model Details

CrowdInsight uses the following pre-trained models:

🧠 Object Detection

  • YOLOv8 (Ultralytics)
  • Fast and accurate on people, bags, animals
  • Custom class filtering (e.g., detect only "person")

🧠 Face Analysis

  • DeepFace
  • Estimates:
    • Age range (e.g., "25-32")
    • Gender (Man/Woman)
    • Emotion (angry, happy, neutral, etc.)

Can be swapped with other face analysis libraries (InsightFace, etc.)

🧩 Model Swapping

To replace YOLO or DeepFace, edit:

# In detector.py
self.model = YOLO('yolov8n.pt')
self.analyzer = DeepFace.analyze(...)