Skip to content

biubug6/ncnn_faceboxes

Repository files navigation

It is a FaceBoxes project based on ncnn

FaceBoxes

FaceBoxes is a cpu real-time face detector with high accuracy

ncnn

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

Train model in

how to train

Model convert form Pytorch to Onnx to Ncnn

repair some bug in onnx2ncnn

1.onnx2ncnn in ncnn don't support the operation which changes Split to Slice. Modifying the onnx2ncnn on the basis of ncnn in order to support Split to Slice operator.

2.onnx2ncnn in ncnn would parse to the wrong parameter in reshape operator if reshape operator is 4 dims(eg:torch.reshape(b, c, h, w) to ncnn reshape).

3.winograd3x3 conv style has bug, I don't use winograd3x3.

Compile

  1. set opencv path in ./faceboxes/CMakeLists.txt file

  2. how to build ncnn library

  3. cd ./build/faceboxes/ && ./facebox, test.jpg saved in ./model/test.jpg

We provide the converted model in model folder!

faceboxes refers to the following projects:

1.ncnn

2.facebox

About

faceboxes@ncnn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published