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
CSC307 Lecture 09
javiergs
PRO
1
830
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.1k
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.3k
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
270
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
Implementation Patterns
denyspoltorak
0
280
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
120
Architectural Extensions
denyspoltorak
0
280
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.5k
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.8k
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
53
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
From π to Pie charts
rasagy
0
120
Optimizing for Happiness
mojombo
379
71k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Music & Morning Musume
bryan
47
7.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
We Are The Robots
honzajavorek
0
160
Site-Speed That Sticks
csswizardry
13
1.1k
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