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
bigbackboom
October 21, 2025
Programming
0
67
JKでもわかるSFace Recognition
bigbackboom
October 21, 2025
Tweet
Share
More Decks by bigbackboom
See All by bigbackboom
Learn as a Pair
bigbackboom
0
55
Not 2 L8 JKでもわかるMaterial 3
bigbackboom
0
45
Androidタブレットアプリ作成_棚から牡丹餅を得るにはまず棚から
bigbackboom
0
61
Proto Datastoreを使う前の心構え
bigbackboom
0
280
Extended A Study in Bitmap: Is NDK the fast Processing method by CPU?
bigbackboom
0
27
Have A Dog in CircleCI
bigbackboom
0
68
Androidエンジニアのお仕事でのショボーン
bigbackboom
0
86
解明!楽しいプレゼンする話すスキル
bigbackboom
0
100
Pay for Businessのgradle.ktsへの移行の小噺
bigbackboom
0
75
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.1k
モダンOBSプラグイン開発
umireon
0
180
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
590
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
400
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
140
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
120
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
370
Nuxt Server Components
wattanx
0
140
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
430
Codex の「自走力」を高める
yorifuji
0
1.3k
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
250
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
950
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.2k
First, design no harm
axbom
PRO
2
1.1k
We Are The Robots
honzajavorek
0
200
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
Embracing the Ebb and Flow
colly
88
5k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
980
The Mindset for Success: Future Career Progression
greggifford
PRO
0
290
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
93
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