Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Face Morpher
Search
Alyssa Quek
March 13, 2015
Programming
0
400
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
チームをチームにするEM
hitode909
0
290
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
150
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
WebRTC と Rust と8K 60fps
tnoho
2
1.9k
配送計画の均等化機能を提供する取り組みについて(⽩⾦鉱業 Meetup Vol.21@六本⽊(数理最適化編))
izu_nori
0
140
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
790
生成AIを利用するだけでなく、投資できる組織へ
pospome
0
240
ゲームの物理 剛体編
fadis
0
320
エディターってAIで操作できるんだぜ
kis9a
0
700
Level up your Gemini CLI - D&D Style!
palladius
1
180
AIコーディングエージェント(Manus)
kondai24
0
160
connect-python: convenient protobuf RPC for Python
anuraaga
0
380
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
A designer walks into a library…
pauljervisheath
210
24k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Raft: Consensus for Rubyists
vanstee
141
7.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Scaling GitHub
holman
464
140k
The Cost Of JavaScript in 2023
addyosmani
55
9.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Designing Experiences People Love
moore
143
24k
Docker and Python
trallard
47
3.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