Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:npu:demos:retinaface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim4:npu:demos:retinaface [2024/12/03 02:36]
louis
products:sbc:vim4:npu:demos:retinaface [2025/06/11 21:51] (current)
louis
Line 6: Line 6:
  
 {{indexmenu_n>5}} {{indexmenu_n>5}}
 +
 +===== Introduction =====
 +
 +RetinaFace is a face detection model. It can draw five key points on each face, including two eyes, nose and two corners of mouth.
 +
 +Inference results on VIM4.
 +
 +{{:products:sbc:vim4:npu:demos:retinaface-demo-output.webp?800|}}
 +
 +**Inference speed test**: USB camera about **78ms** per frame.
 +
 ===== Get source code ===== ===== Get source code =====
  
Line 44: Line 55:
 ==== Get Convert Tool ==== ==== Get Convert Tool ====
  
-Download Tool from [[gl>khadas/vim4_npu_sdk]].+Download Tool from [[gh>khadas/vim4_npu_sdk]].
  
 ```shell ```shell
 $ git lfs install $ git lfs install
-$ git lfs clone https://gitlab.com/khadas/vim4_npu_sdk.git+$ git lfs clone https://github.com/khadas/vim4_npu_sdk
 $ cd vim4_npu_sdk $ cd vim4_npu_sdk
 $ ls $ ls
Line 59: Line 70:
  
 <WRAP important> <WRAP important>
-If your kernel is older than 241129, please use version before tag ddk-3.4.7.7.+If your kernel is older than 241129, please use branch npu-ddk-1.7.5.5.
 </WRAP> </WRAP>
  
Line 154: Line 165:
 $ ./retinaface -m ../data/retinaface_int8.adla -p ../data/timg.jpg $ ./retinaface -m ../data/retinaface_int8.adla -p ../data/timg.jpg
 ``` ```
- 
-{{:products:sbc:vim4:npu:demos:retinaface-demo-output.webp?800|}} 
  
 === Camera input demo === === Camera input demo ===
Last modified: 2024/12/03 02:36 by louis