This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:vim4:npu:demos:retinaface [2024/12/03 02:35] louis |
products:sbc:vim4:npu:demos:retinaface [2026/04/02 02:47] (current) nick |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| + | |||
| + | ===== 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. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **Inference speed test**: USB camera about **78ms** per frame. | ||
| + | |||
| ===== Get source code ===== | ===== Get source code ===== | ||
| Line 42: | Line 53: | ||
| ``` | ``` | ||
| - | ===== Get Convert Tool ===== | + | ==== Get Convert Tool ==== |
| - | Download Tool from [[gl>khadas/vim4_npu_sdk]]. | + | You can find the SDK here: [[dl>products/ |
| ```shell | ```shell | ||
| - | $ git lfs install | + | $ wget https://dl.khadas.com/products/ |
| - | $ git lfs clone https://gitlab.com/khadas/ | + | $ tar xvzf vim4_npu_sdk-ddk-3.4.7.7-250508.tgz |
| - | $ cd vim4_npu_sdk | + | $ cd vim4_npu_sdk-ddk-3.4.7.7-250508 |
| $ ls | $ ls | ||
| adla-toolkit-binary | adla-toolkit-binary | ||
| ``` | ``` | ||
| - | * '' | + | * '' |
| * '' | * '' | ||
| * '' | * '' | ||
| + | * '' | ||
| <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. |
| </ | </ | ||
| Line 154: | Line 166: | ||
| $ ./ | $ ./ | ||
| ``` | ``` | ||
| - | |||
| - | {{: | ||
| === Camera input demo === | === Camera input demo === | ||