Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JKでもわかるSFace Recognition
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
bigbackboom
October 21, 2025
Programming
71
0
Share
JKでもわかるSFace Recognition
bigbackboom
October 21, 2025
More Decks by bigbackboom
See All by bigbackboom
Learn as a Pair
bigbackboom
0
63
Not 2 L8 JKでもわかるMaterial 3
bigbackboom
0
45
Androidタブレットアプリ作成_棚から牡丹餅を得るにはまず棚から
bigbackboom
0
62
Proto Datastoreを使う前の心構え
bigbackboom
0
300
Extended A Study in Bitmap: Is NDK the fast Processing method by CPU?
bigbackboom
0
28
Have A Dog in CircleCI
bigbackboom
0
73
Androidエンジニアのお仕事でのショボーン
bigbackboom
0
87
解明!楽しいプレゼンする話すスキル
bigbackboom
0
110
Pay for Businessのgradle.ktsへの移行の小噺
bigbackboom
0
78
Other Decks in Programming
See All in Programming
セグメントとターゲットを意識するプロポーザルの書き方 〜採択の鍵は、誰に刺すかを見極めるマーケティング戦略にある〜
m3m0r7
PRO
0
580
AWSコミュニティ活動は顧客のクラウド推進に効くのか / Do AWS community activities help customers adopt the cloud?
seike460
PRO
0
150
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
150
アーキテクチャモダナイゼーションとは何か
nwiizo
19
5.4k
Back to the roots of date
jinroq
0
360
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2k
Don't Prompt Harder, Structure Better
kitasuke
0
780
GitHubCopilotCLIをはじめよう.pdf
htkym
0
240
CDK Deployのための ”反響定位”
watany
5
810
From Formal Specification to Property Based Test
ohbarye
0
200
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
110
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.5k
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
Exploring anti-patterns in Rails
aemeredith
3
320
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Writing Fast Ruby
sferik
630
63k
KATA
mclloyd
PRO
35
15k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
150
Testing 201, or: Great Expectations
jmmastey
46
8.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
320
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Transcript
JKでもわかるSFace Recognition Kodai KIkuchi
自己紹介 菊池 広大(キクチコウダイ) 2023年6月 株式会社マネーフォワードに入社 カードプロダクト開発部クライアントGリーダー 埼玉出身、Iターンで東京から福岡に Androidエンジニア、たまにバックエンド。 Github: https://github.com/BigBackBoom
https://hrmos.co/pages/moneyforward/jobs/1960606981176266918
Table of Contents
Table of Contents Background 1 SFace Recoginition 2 Demo 3
Quiz Time 4
Background
Background まじ、 わかりみが深い 精度がガチだよ ね OpenCVの顔認 証テンアゲなん ですけど
Background
SFace Recognition
SFace Recognition
SFace Recognition Sigmoid-Constrained Hypersphere Loss for Robust Face Recognition (SFace)
SFace Recognition 今までの顔認証とは違うの?
SFace Recognition OpenCVは既存で Eigenface/Fisherface などがあるが 光源変化や角度変化に弱い
SFace Recognition SFace は、シグモイド関数を使って学習の 最適化を調整して、 ノイズのないデータはしっかりと最適化される一方で、 ノイズを含むデータは過度に最適化されることを防ぐ事 ができる
SFace Recognition 質の高い顔データベースがなくても、 最適化を適度にやってくれるため Openな顔画像のデータベースなどが利用しやすい また、トレーニング済みデータが OpenCVで用意されている
SFace Recognition
SFace Recognition Database Accuracy Threshold(normL2) Threshold(cosine) LFW 99.60% 1.128 0.363
CALFW 93.95% 1.149 0.340 CPLFW 91.05% 1.204 0.275 AgeDB-30 94.90% 1.202 0.277 CFP-FP 94.80% 1.253 0.212
SFace Recognition Euclidean Norm(L2-Norm) • 二つの画像の顔の特徴点の距離の近さを表す • L2-Norm が小さい ->
同じ人 • L2-Norm が大きい -> 違う人
SFace Recognition Cosine • 二つの画像の特徴点ベクトルの同士の角度 (value -1 ~ 1) •
1 は 同じアングル • -1 は逆方向 • 0 は90度の垂直方向
Demo
Demo
Background
Quiz Time
SFace Recognition L2NormとCosineの値を平均化して、 スコアを0〜100まで出るようにしました。 次の画像の比較が何点になったでしょう?
Quiz Time vs
Quiz Time vs Not Same Person 0.0%
Quiz Time vs
Quiz Time vs Not Same Person 39.7%
Quiz Time vs
Quiz Time vs Same Person 100.0%
Conclusion
Conclusion • OpenCV での顔認証はすぐ使えるし、結構 精度も高い • JKもびっくり • 菊池と新垣結衣は一致度0点
Thank you for listening