Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.56 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.56 KB

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