# mnn_example **Repository Path**: diven-fork/mnn_example ## Basic Information - **Project Name**: mnn_example - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-29 - **Last Updated**: 2021-03-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mnn_example ## alibaba MNN, mobilenet classifier, centerface detector, pfld landmarker and zqlandmarker, mobilefacenet ## **1.更新日志** 时间|更新内容 --|-- 20200621| 1.remove the interface of GetImg; 20200320| 1.fix bug in face aligner; 20200305| 1.add ultraface and blending nms; 20200221| 1.add mobilefacenet; 20200220| 1.use template to reduce the reaptly code in NMS; 20200218| 1.refacter the project; 20200217| 1.add zwnet and face database; 20200216| 1.refacter the project and add zqlandmarker; 20200215| 1.add pfld landmarker and face aligner; 20200214| 1.add centerface detector; 20200205| 1.add object detection; 20200128| 1.add image classification; ## **2.How to use?** - (1). convert model - - classifier model comes from: https://github.com/tensorflow/models/tree/master/research/slim - - object detection model comes from: https://github.com/C-Aniruddh/realtime_object_recognition ``` ./MNNConvert -f TF --modelFile mobilenet_v1_1.0_224_frozen.pb --MNNModel mobilenet.mnn --bizCode MNN ``` ``` ./MNNConvert -f CAFFE --modelFile MobileNetSSD_deploy.caffemodel --prototxt MobileNetSSD_deploy.prototxt --MNNModel mobilenetssd.mnn --bizCode MNN ``` - (2). build ``` mkdir build && cd build && make -j3 && cd src && ./classifier && ./object && ./face ``` - (3). result classifier result: ![图片](https://github.com/MirrorYuChen/MNN_mobilenet/blob/master/data/images/classify_result.jpg) object result: ![图片](https://github.com/MirrorYuChen/MNN_mobilenet/blob/master/data/images/object_result.jpg) face detection result: ![图片](https://github.com/MirrorYuChen/MNN_mobilenet/blob/master/data/images/face_result.jpg) ## **3. TODO:** - [x] add pose ## **4. reference:** ### MNN: https://github.com/alibaba/MNN ### ZQCNN: https://github.com/zuoqing1988/ZQCNN ### MNN_APPLICATION: https://github.com/xindongzhang/MNN-APPLICATIONS ### insightface: https://github.com/deepinsight/insightface ### centerface: https://github.com/Star-Clouds/CenterFace ### ultraface: https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB ### seetaface2: https://github.com/seetafaceengine/SeetaFace2 ### csdn blog: https://blog.csdn.net/abcd740181246/article/details/90143848