This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:edge2:npu:demos:retinaface [2023/09/19 22:42] louis |
products:sbc:edge2:npu:demos:retinaface [2025/04/09 23:33] (current) louis |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~tag> NPU RetinaFace Edge2 PyTorch~~ | ~~tag> NPU RetinaFace Edge2 PyTorch~~ | ||
| - | ====== RetinaFace PyTorch | + | ====== RetinaFace PyTorch |
| {{indexmenu_n> | {{indexmenu_n> | ||
| - | ===== Get Source Code ===== | + | ===== 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 Edge2. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **Inference speed test**: USB camera about **39ms** per frame. MIPI camera about **33ms** per frame. | ||
| + | |||
| + | ===== Train Model ===== | ||
| The codes we use [[gh> | The codes we use [[gh> | ||
| Line 136: | Line 146: | ||
| ==== Get source code ==== | ==== Get source code ==== | ||
| - | Clone the source code form our [[gh> | + | Clone the source code from our [[gh> |
| ```shell | ```shell | ||
| Line 172: | Line 182: | ||
| $ bash build.sh | $ bash build.sh | ||
| - | # Run | + | # Run USB camera |
| + | $ cd install/ | ||
| + | $ ./ | ||
| + | |||
| + | # Run MIPI camera | ||
| $ cd install/ | $ cd install/ | ||
| - | $ ./ | + | $ ./ |
| ``` | ``` | ||
| - | '' | + | <WRAP info > |
| + | '' | ||
| + | </ | ||