当前位置:网站首页>Fundamentals of face recognition (facenet)
Fundamentals of face recognition (facenet)
2022-07-02 13:05:00 【Konjaku in the east wind】
List of articles
Main ideas for reference :
- FaceNet The paper :FaceNet: A Unified Embedding for Face Recognition and Clustering
- Wu Enda video
- Keras bosses
Face verification VS Face recoginition
For face verification , We can regard it as a binary classification problem , But face recognition has developed to the present , We still use face recognition to solve .
Encoder


- We enter a picture into encoder, Through a series of Networks , Output a unique password , This string of passwords compiles this person .
- When we compare , Pass the current picture through encoder Code to get a string of passwords , Compare this string of passwords with all the passwords in the database . If f ( k e y , k e y i d a t a b a s e ) ≤ α f(key,key_{i_{database}}) \leq\alpha f(key,keyidatabase)≤α, We think this person is the person in the database .
Triplet Loss
That's the question : How do we train this network (Encoder)?

We divide the data into three groups .
( A n c h o r , P o s i t i v e , N e g a t i v e ) A n c h o r surface in I People Need to be want knowledge other Of this individual people , P o s i t i v e surface in The people Of another One Zhang chart slice , N e g a t i v e surface in another One individual people Of chart slice . (Anchor,Positive,Negative)\\ Anchor Indicates the person we need to identify ,Positive Another picture of the person \\,Negative A picture of another person . (Anchor,Positive,Negative)Anchor surface in I People Need to be want knowledge other Of this individual people ,Positive surface in The people Of another One Zhang chart slice ,Negative surface in another One individual people Of chart slice .
I People set The righteous T r i p l e t L o s s : M a x ( ∣ ∣ ( k e y A n c h o r ) − ( k e y P o s i t i v e ) ∣ ∣ − ∣ ∣ ( k e y A n c h o r ) − ( k e y N e g a t i v e ) ∣ ∣ + α , 0 ) We define Triplet Loss:\\ Max(||(key_{Anchor}) - (key_{Positive})|| -||(key_{Anchor})\\ - (key_{Negative})|| + \alpha ,0) I People set The righteous TripletLoss:Max(∣∣(keyAnchor)−(keyPositive)∣∣−∣∣(keyAnchor)−(keyNegative)∣∣+α,0)
We are optimizing Encoder When , We need different photos of the same person Encoder The compiled key The gap should be as small as possible , At the same time, I hope that the pictures of different people will be compiled key The gap should be as big as possible .
As for the neural network in the middle , You can write your own , You can even use the previous image classification VGG perhaps ConvNet.
边栏推荐
- Async/await asynchronous function
- Variable, "+" sign, data type
- 嵌入式软件开发
- Browser node event loop
- VIM super practical guide collection of this one is enough
- js4day(DOM开始:获取DOM元素内容,修改元素样式,修改表单元素属性,setInterval定时器,轮播图案例)
- Mobile layout (flow layout)
- ASP. Net MVC default configuration, if any, jumps to the corresponding program in the specified area
- Js2day (also i++ and ++i, if statements, ternary operators, switch, while statements, for loop statements)
- 8 examples of using date commands
猜你喜欢

阿里发布的Redis开发文档,涵盖了所有的redis操作
![[opencv learning] [Canny edge detection]](/img/8b/37694ae2f0f13f829f3c033da0605e.jpg)
[opencv learning] [Canny edge detection]

Linear DP acwing 896 Longest ascending subsequence II
![Jerry's watch gets the default ringtone selection list [article]](/img/94/e469864fa6ab688dabe46f606efdbc.jpg)
Jerry's watch gets the default ringtone selection list [article]

Linear DP acwing 895 Longest ascending subsequence

Js8day (rolling event (scroll family), offset family, client family, carousel map case (to be done))

Redis bloom filter

JS6day(DOM结点的查找、增加、删除。实例化时间,时间戳,时间戳的案例,重绘和回流)
![[opencv learning] [image histogram and equalization]](/img/e7/b8dc55a9febf2b2949fce3a7ac21f9.jpg)
[opencv learning] [image histogram and equalization]

Floyd AcWing 854. Floyd求最短路
随机推荐
[opencv learning] [image pyramid]
. Net, C # basic knowledge
移动式布局(流式布局)
上海交大教授:何援军——包围盒(包容体/包围盒子)
架构师必须了解的 5 种最佳软件架构模式
js3day(数组操作,js冒泡排序,函数,调试窗口,作用域及作用域链,匿名函数,对象,Math对象)
Async/await asynchronous function
The coloring method determines the bipartite graph acwing 860 Chromatic judgement bipartite graph
js2day(又是i++和++i,if语句,三元运算符,switch、while语句,for循环语句)
js4day(DOM开始:获取DOM元素内容,修改元素样式,修改表单元素属性,setInterval定时器,轮播图案例)
Analog to digital converter (ADC) ade7913ariz is specially designed for three-phase energy metering applications
Floyd AcWing 854. Floyd finds the shortest path
Typora+docsify quick start
接口测试面试题目,你都会了吗?
Js3day (array operation, JS bubble sort, function, debug window, scope and scope chain, anonymous function, object, Math object)
bellman-ford AcWing 853. 有边数限制的最短路
Do you know all the interface test interview questions?
Use MySQL events to regularly perform post seven world line tasks
Tencent three sides: in the process of writing files, the process crashes, and will the file data be lost?
3 A VTT端接 稳压器 NCP51200MNTXG资料