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
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
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
550
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
160
AtCoder Conference 2025
shindannin
0
1k
MUSUBIXとは
nahisaho
0
130
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
180
CSC307 Lecture 06
javiergs
PRO
0
680
Fragmented Architectures
denyspoltorak
0
150
Grafana:建立系統全知視角的捷徑
blueswen
0
330
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
510
CSC307 Lecture 03
javiergs
PRO
1
490
dchart: charts from deck markup
ajstarks
3
990
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
120
The World Runs on Bad Software
bkeepers
PRO
72
12k
Leo the Paperboy
mayatellez
4
1.4k
WENDY [Excerpt]
tessaabrams
9
36k
Unsuck your backbone
ammeep
671
58k
How GitHub (no longer) Works
holman
316
140k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
How to build a perfect <img>
jonoalderson
1
4.9k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
580
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