Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.71 KB

File metadata and controls

28 lines (22 loc) · 1.71 KB

🧠 Best AI Models for Raspberry Pi 4 Crowd Counting

Based on 2024-2025 benchmarks and edge computing research, here are the top recommendations for your specific setup (Raspberry Pi 4 + Intel NCS2).

🏆 Top Recommendation: YOLO11n (Current)

Why it wins:

  • State-of-the-Art (SOTA): Released recently, it offers a better speed/accuracy trade-off than YOLOv8.
  • Efficiency: ~30% faster on CPUs than YOLOv8n while maintaining higher accuracy.
  • NCS2 Support: Works excellently with OpenVINO FP16 export.

🥈 Runner Up: YOLOv8n

Why consider it:

  • Stability: Extremely mature ecosystem and documentation.
  • Performance: Very close to v11. If you encounter any "bleeding edge" bugs with v11, v8n is the rock-solid fallback.
  • Speed: ~2-5 FPS on bare Pi 4 CPU, ~10+ FPS with NCS2/OpenVINO.

🥉 For Maximum Speed: MobileNetV2-SSD

Why consider it:

  • Raw Speed: The fastest architecture for older CPUs.
  • Trade-off: Significantly less accurate than YOLO. It might miss people in difficult lighting or occlusions.
  • Use Case: If you need 30+ FPS and only care about rough estimates, not precise tracking.

🚫 Not Recommended: Density Map Models (CSRNet, MCNN)

  • Why: These are designed for thousands of people (e.g., stadiums) where individuals are just pixels.
  • Your Use Case: For a hallway/room, identifying individual people (detection) is far more accurate and provides better metrics (IN/OUT counting, tracking).

⚡ Hardware Acceleration Verdict

Since you have an Intel NCS2, the YOLO family (v8n or v11n) exported to OpenVINO is the definitive best choice. It gives you the accuracy of modern deep learning with the speed required for real-time monitoring.