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
380
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
事業フェーズの変化に対応する 開発生産性向上のゼロイチ
masaygggg
0
230
React + TextAliveでカッコいいLyric Applicatioinを作ろう!!
tosuri13
0
410
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
620
LangGraphでのHuman-in-the-Loopの実装
os1ma
3
1.1k
Understand the mechanism! Let's do screenshots tests of Compose Previews with various variations / 仕組みから理解する!Composeプレビューを様々なバリエーションでスクリーンショットテストしよう
sumio
3
910
XStateでReactに秩序を与えたい
gizm000
0
740
宿泊予約サイトにおける検索と料金計算の両立
skaji
0
130
あなたのアプリ、ログはでてますか?あるいはログをだしてますか? (Funabashi.dev用 軽量版)
uzulla
2
130
GraphQL あるいは React における自律的なデータ取得について
quramy
11
3.1k
Composing an API the *right* way (Droidcon New York 2024)
zsmb
2
360
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
250
Increased Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
510
Featured
See All Featured
Thoughts on Productivity
jonyablonski
66
4.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
28
1.6k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Into the Great Unknown - MozCon
thekraken
29
1.4k
A Modern Web Designer's Workflow
chriscoyier
692
190k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
Speed Design
sergeychernyshev
22
440
Designing for humans not robots
tammielis
248
25k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
158
15k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
41
6.5k
For a Future-Friendly Web
brad_frost
174
9.3k
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