Skip to content

ncnn is a high-performance neural network inference framework optimized for the mobile platform. This fork includes how to use SFD model in this inference engine.

License

Notifications You must be signed in to change notification settings

ghimiredhikura/NCNNSFD

 
 

Repository files navigation

License Build Status

ncnn is a high-performance neural network inference computing framework optimized for mobile platforms.


Compile

how to build ncnn library

how to build in raspberrypi3

how to use ncnn with alexnet, and how to convert caffe model to ncnn model

How To Test SFD

Follow these steps after you build the library using above compile instructions.

Test ncnn-sfd inference performance

You only need .param files in ncnn format to test inference performance. Copy all the param files from NCNNSFD/benchmark/ to NCNNSFD/build/benchmark/

$ cd build/benchmark/
$ ./benchcnn 8 4 0

---Output---

Test SFD image/webcam face detection

Copy .jpg images from NCNNSFD/ncnnsfd/ to NCNNSFD/build/ncnnsfd/. Copy .param and .bin files from NCNNSFD/ncnnsfd/ to NCNNSFD/build/ncnnsfd/.

  1. Test in single image.
$ cd NCNN/build/ncnnsfd/
$ ./mobilenetsfd_image 79378097.jpg NVISO-A7.param NVISO-A7.bin

---Output---

  1. Test in webcam stream.
$ cd NCNN/build/ncnnsfd/
$ ./mobilenetsfd_webcam 0 NVISO-A7.param NVISO-A7.bin

---Output--- ...

License

BSD 3 Clause

About

ncnn is a high-performance neural network inference framework optimized for the mobile platform. This fork includes how to use SFD model in this inference engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 48.1%
  • C 45.1%
  • CMake 6.7%
  • Shell 0.1%