Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2:npu:demos:facenet

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:edge2:npu:demos:facenet [2023/08/25 05:49]
hyphop [Get convert tool]
products:sbc:edge2:npu:demos:facenet [2025/04/09 23:38] (current)
louis
Line 1: Line 1:
-====== Demo6 - Facenet ======+~~tag> NPU FaceNet Edge2 PyTorch~~
  
-===== Get Source Code =====+====== FaceNet PyTorch Edge2 Demo - 6 ======
  
-The codes we use.+{{indexmenu_n>6}} 
 + 
 +===== 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 Edge2. 
 + 
 +{{:products:sbc:edge2:npu:demos:facenet-result.png?400|}} 
 + 
 +===== Train Model ===== 
 + 
 +The codes we use [[gh>bubbliiiing/facenet-pytorch]].
  
 ```shell ```shell
Line 132: Line 144:
 ==== Get source code ==== ==== Get source code ====
  
-Clone the source code form our [[https://github.com/khadas/edge2-npu|khadas/edge2-npu]].+Clone the source code from our [[gh>khadas/edge2-npu]].
  
 ```shell ```shell
Last modified: 2023/08/25 05:49 by hyphop