Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim3:npu:vim3_demo_lite:retinaface

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:vim3:npu:vim3_demo_lite:retinaface [2025/01/09 20:34]
louis
products:sbc:vim3:npu:vim3_demo_lite:retinaface [2025/04/23 22:44] (current)
louis
Line 12: Line 12:
  
 {{indexmenu_n>4}} {{indexmenu_n>4}}
 +
 +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 VIM3.
 +
 +{{:products:sbc:vim3:npu:vim3_demo_lite:retinaface-c-result.png?800|}}
 +
 +**Inference speed test**: USB camera about **60ms** per frame. MIPI camera about **42ms** per frame.
  
 ===== Get source code ===== ===== Get source code =====
Line 214: Line 222:
 $ bash build_vx.sh $ bash build_vx.sh
 $ cd bin_r_cv4 $ cd bin_r_cv4
-$ ./retinaface_demo_x11_usb -m ../nn_data/retinaface_88.nb -d /dev/video0+ 
 +# usb 
 +$ ./retinaface_demo_x11_usb -m ../nn_data/retinaface_88.nb -t usb -d /dev/video0 
 + 
 +# mipi 
 +$ ./retinaface_demo_x11_usb -m ../nn_data/retinaface_88.nb -t mipi -d /dev/video50
 ``` ```
  
Last modified: 2025/04/23 22:44 by louis