From c7d20416f6129258976823dc4f1798154a0b119c Mon Sep 17 00:00:00 2001 From: gu12530 <2629144335@qq.com> Date: Mon, 25 Nov 2024 11:07:07 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0LZ-Face=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=8F=8A=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/vision/face_detection/README.md | 19 +- example/vision/face_detection/README_BAK.md | 51 +++ .../vision/face_detection/images/connect.png | Bin 0 -> 43253 bytes .../vision/face_detection/images/result1.png | Bin 0 -> 441461 bytes .../vision/face_detection/images/result2.png | Bin 0 -> 175703 bytes example/vision/face_detection/images/stfp.png | Bin 0 -> 31733 bytes .../vision/face_detection/python/README.md | 117 +++---- .../face_detection/python/README_BAK.md | 292 ++++++++++++++++++ .../python/test_face_detection.py | 50 +++ 9 files changed, 449 insertions(+), 80 deletions(-) create mode 100644 example/vision/face_detection/README_BAK.md create mode 100644 example/vision/face_detection/images/connect.png create mode 100644 example/vision/face_detection/images/result1.png create mode 100644 example/vision/face_detection/images/result2.png create mode 100644 example/vision/face_detection/images/stfp.png create mode 100644 example/vision/face_detection/python/README_BAK.md create mode 100644 example/vision/face_detection/python/test_face_detection.py diff --git a/example/vision/face_detection/README.md b/example/vision/face_detection/README.md index 427bd46..50786ef 100644 --- a/example/vision/face_detection/README.md +++ b/example/vision/face_detection/README.md @@ -2,7 +2,7 @@ 发布版本:V0.0.0 -日期:2024-11-04 +日期:2024-11-25 文件密级:□绝密 □秘密 □内部资料 ■公开 @@ -23,29 +23,30 @@ **修订记录** -| **日期** | **版本** | **作者** | **修改说明** | -| :--------- | -------- | -------- | ------------ | -| 2024/11/04 | 0.0.0 | 郑必城 | 初始版本 | +| **日期** | **版本** | **作者** | **修改说明** | +|:-----------| -------- |--------| ------------ | +| 2024/11/25 | 0.0.0 | 钟海滨 | 初始版本 | ## 1 简介 -在深度学习中,RetinaFace 是一种高效的人脸检测模型,旨在准确识别图像中的人脸及其关键点。该模型结合了特征金字塔网络(FPN)和单阶段检测方法,能够在不同尺度下进行人脸检测,从而提高了对小型和远距离人脸的检测能力。RetinaFace 不仅能够检测人脸位置,还能提供人脸的五个关键点(如眼睛、鼻子和嘴巴)的坐标,适用于多种人脸识别和分析应用。 +在深度学习中,人脸检测是一项重要的计算机视觉任务,旨在在图像或视频中精确定位和识别人脸的位置。这项技术广泛应用于安全监控、身份验证、社交媒体、智能设备等多种场景。 +为了实现高效且准确的人脸检测,我们基于 Lockzhiner Vision Module 的 LZ-Picodet 模型,在飞桨的 AI Studio 平台上训练了一个高性能的人脸检测模型。 ## 2 运行前的准备 -* 请确保你已经下载了 [凌智视觉模块人脸检测模型](https://gitee.com/LockzhinerAI/LockzhinerVisionModule/releases/download/v0.0.3/LZ-RetinaFace-2024-1121-1627.rknn) +* 请确保你已经下载了 [凌智视觉模块人脸检测模型](https://gitee.com/LockzhinerAI/LockzhinerVisionModule/releases/download/v0.0.3/LZ-Face.rknn) ## 3 在凌智视觉模块上部署模型 训练完模型后,请参考以下教程在凌智视觉模块上部署检测模型例程: -* [凌智视觉模块人脸检测模型 Python 部署指南](./python) +* [凌智视觉模块人脸检测模型 Python 部署指南](./python/README.md) ## 4 各模型性能指标 以下测试数据为模型执行 Predict 函数运行 1000 次耗时的平均时间 | 人脸检测模型 | FPS(帧/s) | 精度(%) | -|:-------:|:----:|:----:| -|LZ-RetinaFace| 38 | - | \ No newline at end of file +|:------:|:----:|:----:| +|LZ-Face | 38 | - | \ No newline at end of file diff --git a/example/vision/face_detection/README_BAK.md b/example/vision/face_detection/README_BAK.md new file mode 100644 index 0000000..41bf7b6 --- /dev/null +++ b/example/vision/face_detection/README_BAK.md @@ -0,0 +1,51 @@ +