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:face-recognition [2024/12/03 02:54] louis |
products:sbc:vim4:npu:demos:face-recognition [2025/06/12 05:38] (current) louis |
||
---|---|---|---|
Line 6: | Line 6: | ||
{{indexmenu_n> | {{indexmenu_n> | ||
+ | |||
+ | Face Recognition Demo consists of two models, RetinaFace and FaceNet. It can detect face on image and recognize who it is. Here are two judgment indicators, cosine similarity and Euclidean distance. The closer the cosine similarity is to 1 and the closer the Euclidean distance is to 0, the more similar is between two faces. | ||
+ | |||
+ | Here takes **lin_1.jpg** as example. Inference results on VIM4. Only show cosine similarity. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Inference speed test**: USB camera about **80ms** per frame. | ||
<WRAP important > | <WRAP important > | ||
Line 74: | Line 82: | ||
# Run | # Run | ||
- | $ ./ | + | $ ./ |
``` | ``` | ||
'' | '' |