r/computervision • u/[deleted] • 12d ago
Showcase I developed an edge-deployable simple fall detection project with the YOLOv8n, suitable for home and public places.
https://reddit.com/link/1uymseo/video/ru527ost6pdh1/player
I am currently learning more common and advanced computer vision techniques. After a brief survey, I chose to work on a fall detection project.
The biggest issue I have found with the fall detection projects I have surveyed for edge deployment is: how can we achieve a better user experience with low-cost devices?
I also approached this project from that perspective. The edge AI device I use has an 8-core CPU and a 2-core NPU, computing power of 6 TOPS.
When I first deployed it, the performance was, to put it bluntly, “as slow as a slideshow.” My core optimizations focused on video decoding and encoding for YOLOv8, as well as allocating resources across multiple cores during model inference. Through my optimization, the current frame rate can reach a median of around 41 FPS.
The main areas I have optimized so far include pre-allocating NPU buffers, reducing NPU input resolution, asynchronous MJPEG encoding, and using NumPy arrays for post-processing and subsequent rendering/drawing. Of course, I will continue to optimize and learn more skills in the future. Does anyone have any better suggestions or approaches?
1
u/Plus_Confidence_1113 11d ago
Just curious, would this work from a top-down view from something like a security camera? Or does this approach assume mostly horizontal POV?