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
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
高度なUI/UXこそHotwireで作ろう Kaigi on Rails 2025
naofumi
4
3.8k
スマホから Youtube Shortsを見られないようにする
lemolatoon
16
16k
CSC509 Lecture 06
javiergs
PRO
0
260
Cloudflare AgentsとAI SDKでAIエージェントを作ってみた
briete
0
140
The Flutter Journey of Building a Live Streaming App — With a Side of Performance Tuning
u503
1
110
uniqueパッケージの内部実装を支えるweak pointerの話
magavel
0
960
CSC509 Lecture 04
javiergs
PRO
0
300
Six and a half ridiculous things to do with Quarkus
hollycummins
0
140
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
1.2k
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
230
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
1.2k
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
200
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
Six Lessons from altMBA
skipperchong
28
4k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Visualization
eitanlees
148
16k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
For a Future-Friendly Web
brad_frost
180
9.9k
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