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
Face Morpher
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Alyssa Quek
March 13, 2015
Programming
0
410
Face Morpher
Warp, average and morph faces with Python opencv, numpy, scipy
Alyssa Quek
March 13, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
960
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
CSC307 Lecture 01
javiergs
PRO
0
690
CSC307 Lecture 07
javiergs
PRO
0
550
ThorVG Viewer In VS Code
nors
0
760
AI時代の認知負荷との向き合い方
optfit
0
150
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
AI巻き込み型コードレビューのススメ
nealle
0
120
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
180
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
140
Oxlintはいいぞ
yug1224
5
1.3k
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
140
Testing 201, or: Great Expectations
jmmastey
46
8k
Tell your own story through comics
letsgokoyo
1
800
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
50
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
36k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
The World Runs on Bad Software
bkeepers
PRO
72
12k
We Are The Robots
honzajavorek
0
160
Facilitating Awesome Meetings
lara
57
6.7k
Building AI with AI
inesmontani
PRO
1
680
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Transcript
FACE MORPHER alyssaquek alyssaq/face_morpher FOSS Asia 2015
Questions to answer Given 2 or more images, how do
we create a: • Morph sequence? • Average face? Just 4 steps!
Step 1: Locator OpenCV haar cascade classifiers face, eye detection
Stasm shape models key face points
Step 2: Aligner Resize; Center face; Pad borders; Crop
Step 3: Warper Triangulate points (Delaunay triangulation) scipy.spatial.Delaunay(points)
Step 3: Warper [a b c d e f ]
2 x 3 affine transformation matrix + bilinear interpolation
Step 4: Morph! Start Mesh End Mesh Many intermediate meshes
python morpher.py --src=spock.jpg --dest=uhura.jpg --out_video=out.avi --num=60 --fps=30 Demo Morph!
python morpher.py --num=8 --plot --src=star_wars/padme.jpg --dest=star_trek/uhura.jpg Plot as many morph
frames
THANK YOU! alyssaquek alyssaq/face_morpher