This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
products:sbc:vim4:npu:demos:facenet [2025/01/08 22:31] louis |
products:sbc:vim4:npu:demos:facenet [2025/06/11 22:05] (current) louis |
||
---|---|---|---|
Line 6: | Line 6: | ||
{{indexmenu_n> | {{indexmenu_n> | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | FaceNet is a face recognition model. It will convert a face image into a feature map. Compare the feature map between image and face database. 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. | ||
+ | |||
+ | {{: | ||
+ | |||
===== Get Source Code ===== | ===== Get Source Code ===== | ||
Line 163: | Line 172: | ||
$ ./facenet -m ../ | $ ./facenet -m ../ | ||
``` | ``` | ||
- | |||
- | {{: | ||
Here are two comparison methods, **Euclidean distance** and **cosine similarity**. | Here are two comparison methods, **Euclidean distance** and **cosine similarity**. |