Giter Club home page Giter Club logo

face-detection-raspberry-pi-32-64-bits's Introduction

output image Find this example on our SD-image

Face Detection on Raspberry Pi 32/64 bits

output image

Super fast face detection up to 80 FPS on a bare Raspberry Pi 4.

This is a ultra fast C++ implementation of the face detector of Linzaer running on a MNN framework.
https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB.

Paper: https://arxiv.org/abs/1905.00641.pdf
Size: 320x320

Special made for a bare Raspberry Pi see https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html


Frameworks.

Three frameworks are supported:

  • Alibaba's MNN framework
  • Tencent ncnn framework
  • OpenCV dnn
    output image
    The frame rate is based upon the average execution time of the single frames.
    Loading frames from a file, plotting boxes, and showing the result on the screen are not taken into account.

    The MNN framework has also 8 bit quantized models. These are very fast.

    output image

    See the video at https://youtu.be/DERA83C9K2A

Thanks.

https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB


Benchmark.

Model framework model size mAP Jetson Nano
2015 MHz
RPi 4 64-OS
1950 MHz
Ultra-Light-Fast ncnn slim-320 320x240 67.1 - FPS 26 FPS
Ultra-Light-Fast ncnn RFB-320 320x240 69.8 - FPS 23 FPS
Ultra-Light-Fast MNN slim-320 320x240 67.1 70 FPS 65 FPS
Ultra-Light-Fast MNN RFB-320 320x240 69.8 60 FPS 56 FPS
Ultra-Light-Fast OpenCV slim-320 320x240 67.1 48 FPS 40 FPS
Ultra-Light-Fast OpenCV RFB-320 320x240 69.8 43 FPS 35 FPS
Ultra-Light-Fast + Landmarks ncnn slim-320 320x240 67.1 50 FPS 24 FPS
LFFD ncnn 5 stage 320x240 88.6 16.4 FPS 4.85 FPS
LFFD ncnn 8 stage 320x240 88.6 11.7 FPS 3.45 FPS
LFFD MNN 5 stage 320x240 88.6 2.6 FPS 2.17 FPS
LFFD MNN 8 stage 320x240 88.6 1.8 FPS 1.49 FPS

RFB-320

output image

slim_320

output image

LFFD-5

output image

LFFD-8

output image

face-detection-raspberry-pi-32-64-bits's People

Contributors

qengineering avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.