# YOLO5Face.lite.ai.toolkit
使用 🍅🍅 Lite.AI.ToolKit C++工具箱来跑YOLO5Face人脸检测(带关键点)的一些案例(https://github.com/DefTruth/lite.ai.toolkit) , 包含ONNXRuntime C++、MNN、TNN和NCNN版本。
![](resources/YOLO5Face.png)
如果觉得有用,不妨给个Star⭐️🌟支持一下吧~ 🙃🤪🍀
## 2. C++版本源码
YOLO5Face C++ 版本的源码包含ONNXRuntime、MNN、TNN和NCNN四个版本,源码可以在 [lite.ai.toolkit](https://github.com/DefTruth/lite.ai.toolkit) 工具箱中找到。本项目主要介绍如何基于 [lite.ai.toolkit](https://github.com/DefTruth/lite.ai.toolkit) 工具箱,直接使用YOLO5Face来跑人脸检测。需要说明的是,本项目是基于MacOS下编译的 [liblite.ai.toolkit.v0.1.0.dylib](https://github.com/DefTruth/yolox.lite.ai.toolkit/blob/main/lite.ai.toolkit/lib) 来实现的,对于使用MacOS的用户,可以直接下载本项目包含的*liblite.ai.toolkit.v0.1.0*动态库和其他依赖库进行使用。而非MacOS用户,则需要从[lite.ai.toolkit](https://github.com/DefTruth/lite.ai.toolkit) 中下载源码进行编译。[lite.ai.toolkit](https://github.com/DefTruth/lite.ai.toolkit) c++工具箱目前包含70+流行的开源模型,就不多介绍了,只是平时顺手捏的,整合了自己学习过程中接触到的一些模型,感兴趣的同学可以去看看。
* [yolo5face.cpp](https://github.com/DefTruth/lite.ai.toolkit/blob/main/lite/ort/cv/yolo5face.cpp)
* [yolo5face.h](https://github.com/DefTruth/lite.ai.toolkit/blob/main/lite/ort/cv/yolo5face.h)
* [mnn_yolo5face.cpp](https://github.com/DefTruth/lite.ai.toolkit/blob/main/lite/mnn/cv/mnn_yolo5face.cpp)
* [mnn_yolo5face.h](https://github.com/DefTruth/lite.ai.toolkit/blob/main/lite/mnn/cv/mnn_yolo5faceh)
* [tnn_yolo5face.cpp](https://github.com/DefTruth/lite.ai.toolkit/blob/main/lite/tnn/cv/tnn_yolo5face.cpp)
* [tnn_yolo5face.h](https://github.com/DefTruth/lite.ai.toolkit/blob/main/lite/tnn/cv/tnn_yolo5face.h)
* [ncnn_yolo5face.cpp](https://github.com/DefTruth/lite.ai.toolkit/blob/main/lite/ncnn/cv/ncnn_yolo5face.cpp)
* [ncnn_yolo5face.h](https://github.com/DefTruth/lite.ai.toolkit/blob/main/lite/ncnn/cv/ncnn_yolo5face.h)
ONNXRuntime C++、MNN、TNN和NCNN版本的推理实现均已测试通过,欢迎白嫖~
## 3. 模型文件
### 3.1 ONNX模型文件
可以从我提供的链接下载 ([Baidu Drive](https://pan.baidu.com/s/1elUGcx7CZkkjEoYhTMwTRQ) code: 8gin) , 也可以从本仓库下载。
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
| :-----------------------------------: | :-----------------------------: | :-------------------------------------------------------: | :---: |
| *lite::cv::face::detect::YOLO5Face* | yolov5face-blazeface-640x640.onnx | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 3.4Mb |
| *lite::cv::face::detect::YOLO5Face* | yolov5face-l-640x640.onnx | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 181Mb |
| *lite::cv::face::detect::YOLO5Face* | yolov5face-m-640x640.onnx | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 83Mb |
| *lite::cv::face::detect::YOLO5Face* | yolov5face-n-0.5-320x320.onnx | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 2.5Mb |
| *lite::cv::face::detect::YOLO5Face* | yolov5face-n-0.5-640x640.onnx | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 4.6Mb |
| *lite::cv::face::detect::YOLO5Face* | yolov5face-n-640x640.onnx | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 9.5Mb |
| *lite::cv::face::detect::YOLO5Face* | yolov5face-s-640x640.onnx | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 30Mb |
### 3.2 MNN模型文件
MNN模型文件下载地址,([Baidu Drive](https://pan.baidu.com/s/1KyO-bCYUv6qPq2M8BH_Okg) code: 9v63), 也可以从本仓库下载。
| Class | Pretrained MNN Files | Rename or Converted From (Repo) | Size |
| :-----------------------------------: | :-----------------------------: | :-------------------------------------------------------: | :---: |
| *lite::mnn::cv::face::detect::YOLO5Face* | yolov5face-blazeface-640x640.mnn | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 3.4Mb |
| *lite::mnn::cv::face::detect::YOLO5Face* | yolov5face-l-640x640.mnn | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 181Mb |
| *lite::mnn::cv::face::detect::YOLO5Face* | yolov5face-m-640x640.mnn | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 83Mb |
| *lite::mnn::cv::face::detect::YOLO5Face* | yolov5face-n-0.5-320x320.mnn | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 2.5Mb |
| *lite::mnn::cv::face::detect::YOLO5Face* | yolov5face-n-0.5-640x640.mnn | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 4.6Mb |
| *lite::mnn::cv::face::detect::YOLO5Face* | yolov5face-n-640x640.mnn | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 9.5Mb |
| *lite::mnn::cv::face::detect::YOLO5Face* | yolov5face-s-640x640.mnn | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 30Mb |
### 3.3 TNN模型文件
TNN模型文件下载地址,([Baidu Drive](https://pan.baidu.com/s/1lvM2YKyUbEc5HKVtqITpcw) code: 6o6k), 也可以从本仓库下载。
| Class | Pretrained TNN Files | Rename or Converted From (Repo) | Size |
| :-----------------------------------: | :-----------------------------: | :-------------------------------------------------------: | :---: |
| *lite::tnn::cv::face::detect::YOLO5Face* | yolov5face-blazeface-640x640.opt.tnnproto&tnnmodel | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 3.4Mb |
| *lite::tnn::cv::face::detect::YOLO5Face* | yolov5face-l-640x640.opt.tnnproto&tnnmodel | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 181Mb |
| *lite::tnn::cv::face::detect::YOLO5Face* | yolov5face-m-640x640.opt.tnnproto&tnnmodel | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 83Mb |
| *lite::tnn::cv::face::detect::YOLO5Face* | yolov5face-n-0.5-320x320.opt.tnnproto&tnnmodel | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 2.5Mb |
| *lite::tnn::cv::face::detect::YOLO5Face* | yolov5face-n-0.5-640x640.opt.tnnproto&tnnmodel | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 4.6Mb |
| *lite::tnn::cv::face::detect::YOLO5Face* | yolov5face-n-640x640.opt.tnnproto&tnnmodel | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 9.5Mb |
| *lite::tnn::cv::face::detect::YOLO5Face* | yolov5face-s-640x640.opt.tnnproto&tnnmodel | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 30Mb |
### 3.4 NCNN模型文件
NCNN模型文件下载地址,([Baidu Drive](https://pan.baidu.com/s/1hlnqyNsFbMseGFWscgVhgQ) code: sc7f), 也可以从本仓库下载。
| Class | Pretrained NCNN Files | Rename or Converted From (Repo) | Size |
| :-----------------------------------: | :-----------------------------: | :-------------------------------------------------------: | :---: |
| *lite::ncnn::cv::face::detect::YOLO5Face* | yolov5face-l-640x640.opt.param&bin | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 181Mb |
| *lite::ncnn::cv::face::detect::YOLO5Face* | yolov5face-m-640x640.opt.param&bin | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 83Mb |
| *lite::ncnn::cv::face::detect::YOLO5Face* | yolov5face-n-0.5-320x320.opt.param&bin | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 2.5Mb |
| *lite::ncnn::cv::face::detect::YOLO5Face* | yolov5face-n-0.5-640x640.opt.param&bin | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 4.6Mb |
| *lite::ncnn::cv::face::detect::YOLO5Face* | yolov5face-n-640x640.opt.param&bin | [YOLO5Face](https://github.com/deepcam-cn/yolov5-face) | 9.5Mb |
| *lite::ncnn::cv::face::detect::YOLO5Face* | yolov5fac
没有合适的资源?快使用搜索试试~ 我知道了~
YOLO5Face 2021 与 MNN/NCNN/TNN/ONNXRuntime_C++_代码_下载
共816个文件
h:478个
hpp:278个
dylib:21个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 181 浏览量
2022-07-03
01:29:36
上传
评论
收藏 65.6MB ZIP 举报
温馨提示
使用 Lite.AI.ToolKit C++工具箱来跑YOLO5Face人脸检测(带关键点)的一些案例 https://github.com/DefTruth/YOLO5Face.lite.ai.toolkit/blob/main/resources/YOLO5Face.png 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
YOLO5Face 2021 与 MNN/NCNN/TNN/ONNXRuntime_C++_代码_下载 (816个子文件)
yolov5face-n-640x640.opt.bin 6.55MB
test_lite_yolo5face.cpp 4KB
libonnxruntime.1.7.0.dylib 12.09MB
libonnxruntime.dylib 12.09MB
libTNN.0.dylib 6.83MB
libTNN.dylib 6.83MB
libopencv_imgproc.4.5.dylib 5.28MB
libopencv_imgproc.dylib 5.28MB
libopencv_core.dylib 3.94MB
libopencv_core.4.5.dylib 3.94MB
libncnn.1.dylib 3.57MB
libncnn.dylib 3.57MB
libopencv_imgcodecs.dylib 3.23MB
libopencv_imgcodecs.4.5.dylib 3.23MB
libMNN.dylib 2.38MB
liblite.ai.toolkit.0.1.0.dylib 2.23MB
libopencv_video.4.5.dylib 517KB
libopencv_video.dylib 517KB
libopencv_videoio.4.5.dylib 464KB
libopencv_videoio.dylib 464KB
libopencv_highgui.dylib 124KB
libopencv_highgui.4.5.dylib 124KB
liblite.ai.toolkit.dylib 30B
.gitignore 23B
.gitignore 5B
.gitignore 0B
.gitignore 0B
.gitignore 0B
core_c.h 126KB
msa_macros.h 81KB
types_c.h 70KB
kmeans_index.h 66KB
graph.h 59KB
mat.h 58KB
onnxruntime_c_api.h 58KB
Matrix.h 55KB
EigenNonBlockingThreadPool.h 52KB
imgproc_c.h 50KB
models.h 40KB
dist.h 40KB
cvdef.h 34KB
onnxruntime_cxx_inline.h 33KB
constants_c.h 30KB
data_types.h 30KB
tnn_shufflenetv2.h 28KB
tnn_mobilenetv2.h 28KB
tnn_densenet.h 28KB
tnn_ghostnet.h 28KB
tnn_hdrdnet.h 28KB
tnn_resnext.h 28KB
tnn_resnet.h 28KB
tnn_ibnnet.h 28KB
ncnn_shufflenetv2.h 28KB
ncnn_mobilenetv2.h 28KB
ncnn_ghostnet.h 28KB
ncnn_densenet.h 28KB
ncnn_hdrdnet.h 28KB
ncnn_resnext.h 28KB
ncnn_ibnnet.h 28KB
ncnn_resnet.h 28KB
ncnn_efficientnet_lite4.h 28KB
mnn_shufflenetv2.h 28KB
mnn_mobilenetv2.h 28KB
tnn_efficientnet_lite4.h 28KB
mnn_densenet.h 28KB
mnn_ghostnet.h 28KB
mnn_hdrdnet.h 28KB
mnn_resnext.h 28KB
mnn_ibnnet.h 28KB
mnn_resnet.h 28KB
mnn_efficientnet_lite4.h 28KB
efficientnet_lite4.h 28KB
shufflenetv2.h 28KB
mobilenetv2.h 28KB
ghostnet.h 28KB
densenet.h 28KB
resnext.h 28KB
hardnet.h 28KB
resnet.h 28KB
ibnnet.h 28KB
cv_cpu_helper.h 27KB
hierarchical_clustering_index.h 26KB
onnxruntime_cxx_api.h 24KB
data_types_internal.h 24KB
op_kernel.h 24KB
autotuned_index.h 21KB
kdtree_single_index.h 20KB
kdtree_index.h 20KB
Rect.h 18KB
lsh_table.h 18KB
types_c.h 18KB
threadpool.h 17KB
lsh_index.h 15KB
result_set.h 15KB
c_api.h 14KB
gpu.h 13KB
allocator.h 12KB
common.h 12KB
logging.h 12KB
kernel_def_builder.h 12KB
共 816 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
- 2301_764295132023-02-17资源不错,很实用,内容全面,介绍详细,很好用,谢谢分享。
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功