Giter Site home page Giter Site logo

qengineering / lffd-mnn-jetson-nano Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 24.82 MB

Face detection with MNN on a Jetson Nano

Home Page: https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html

License: BSD 3-Clause "New" or "Revised" License

C++ 100.00%
mnn mnn-model jetson-nano aarch64 deep-learning face-detection lffd

lffd-mnn-jetson-nano's Introduction

LFFD face detection Jetson Nano

output image

LFFD face detection with the MNN framework.

License

Paper: https://arxiv.org/pdf/1904.10633.pdf

Special made for a Jetson Nano see Q-engineering deep learning examples


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

Dependencies.

To run the application, you have to:


Installing the app.

To extract and run the network in Code::Blocks
$ mkdir MyDir
$ cd MyDir
$ wget https://github.com/Qengineering/LFFD-MNN-Raspberry-Pi-4/archive/refs/heads/main.zip
$ unzip -j master.zip
Remove master.zip, LICENSE and README.md as they are no longer needed.
$ rm master.zip
$ rm LICENSE
$ rm README.md

Your MyDir folder must now look like this:
images folder
Walks2.mp4
FaceDetection_LFFD_MNN.cpb
main.cpp
LFFD_MNN.h
LFFD_MNN.cpp
symbol_10_320_20L_5scales_v2_deploy.mnn
symbol_10_560_25L_8scales_v1_deploy.mnn


Running the app.

To run the application load the project file FaceDetection_LFFD_MNN.cbp in Code::Blocks.
Next, follow the instructions at Hands-On.

output image

lffd-mnn-jetson-nano's People

Contributors

qengineering avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lffd-mnn-jetson-nano's Issues

Can you share onnx model

Hi,

Can you share Ultra light onnx model? or white paper so that i can reproduce in pytorch

Thank you.

Vulkan backend not working with MNN

While trying to run benchmark.cpp utilizing the Vulkan backend as ./benchmark.out /home/ubuntu/MNN/models 1000 10 7 setting forward = MNN_FORWARD_VULKAN, I get the error Can't Find type=7 backend, use 0 instead even though I had built MNN following the instructions in here which also builds for the Vulkan backend setting -DMNN_VULKAN=true. I am working on an NVIDIA Jetson with Jetpack version 5.0.1.

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.