Submit Search
Upload
How to Recognize Henry's Face
•
0 likes
•
352 views
Yongqiang Li
Follow
Summary of a personal project to train a simple model and recognize my son's face.
Read less
Read more
Data & Analytics
Report
Share
Report
Share
1 of 21
Recommended
Deep Learning and Reinforcement Learning
Deep Learning and Reinforcement Learning
Renārs Liepiņš
Image classification using cnn
Image classification using cnn
Debarko De
Machine Learning 101
Machine Learning 101
Edwin Efraín Jiménez Lepe
Caricature Recognition and Generation
Caricature Recognition and Generation
Saurav Jha
One shot learning
One shot learning
Vuong Ho Ngoc
GDSC Unsri - From Zero to Hero with TensorFlow.pptx
GDSC Unsri - From Zero to Hero with TensorFlow.pptx
FellyciaHikmahwarani
Human Emotion Recognition
Human Emotion Recognition
Chaitanya Maddala
Why Kotlin?
Why Kotlin?
Yongqiang Li
Recommended
Deep Learning and Reinforcement Learning
Deep Learning and Reinforcement Learning
Renārs Liepiņš
Image classification using cnn
Image classification using cnn
Debarko De
Machine Learning 101
Machine Learning 101
Edwin Efraín Jiménez Lepe
Caricature Recognition and Generation
Caricature Recognition and Generation
Saurav Jha
One shot learning
One shot learning
Vuong Ho Ngoc
GDSC Unsri - From Zero to Hero with TensorFlow.pptx
GDSC Unsri - From Zero to Hero with TensorFlow.pptx
FellyciaHikmahwarani
Human Emotion Recognition
Human Emotion Recognition
Chaitanya Maddala
Why Kotlin?
Why Kotlin?
Yongqiang Li
Introduction to Boost regex
Introduction to Boost regex
Yongqiang Li
Let's talk about java class loader
Let's talk about java class loader
Yongqiang Li
Brief introduction to domain-driven design
Brief introduction to domain-driven design
Yongqiang Li
Let's talk about java class file
Let's talk about java class file
Yongqiang Li
Eclipse GEF (Part I)
Eclipse GEF (Part I)
Yongqiang Li
Garbage Collection of Java VM
Garbage Collection of Java VM
Yongqiang Li
Let's talk about jni
Let's talk about jni
Yongqiang Li
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
ranjana rawat
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
Boston Institute of Analytics
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
TanveerAhmed817946
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
hf8803863
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Suhani Kapoor
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
Suhani Kapoor
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
Suhani Kapoor
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
Lars Albertsson
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
Samantha Rae Coolbeth
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
Boston Institute of Analytics
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
sapnasaifi408
More Related Content
More from Yongqiang Li
Introduction to Boost regex
Introduction to Boost regex
Yongqiang Li
Let's talk about java class loader
Let's talk about java class loader
Yongqiang Li
Brief introduction to domain-driven design
Brief introduction to domain-driven design
Yongqiang Li
Let's talk about java class file
Let's talk about java class file
Yongqiang Li
Eclipse GEF (Part I)
Eclipse GEF (Part I)
Yongqiang Li
Garbage Collection of Java VM
Garbage Collection of Java VM
Yongqiang Li
Let's talk about jni
Let's talk about jni
Yongqiang Li
More from Yongqiang Li
(7)
Introduction to Boost regex
Introduction to Boost regex
Let's talk about java class loader
Let's talk about java class loader
Brief introduction to domain-driven design
Brief introduction to domain-driven design
Let's talk about java class file
Let's talk about java class file
Eclipse GEF (Part I)
Eclipse GEF (Part I)
Garbage Collection of Java VM
Garbage Collection of Java VM
Let's talk about jni
Let's talk about jni
Recently uploaded
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
ranjana rawat
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
Boston Institute of Analytics
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
TanveerAhmed817946
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
hf8803863
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Suhani Kapoor
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
Suhani Kapoor
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
Suhani Kapoor
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
Lars Albertsson
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
Samantha Rae Coolbeth
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
Boston Institute of Analytics
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
sapnasaifi408
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
Florian Roscheck
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
Sapana Sha
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
YohFuh
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
Aishani27
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
JohnnyPlasten
Recently uploaded
(20)
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
How to Recognize Henry's Face
1.
How to Recognize Henry’s
Face Henry’s Father - Yongqiang Li
2.
MNIST Sample in
Tensorflow Tutorial Train Data: 60000, 28x28 Test Data: 10000, 28x28
3.
My Goal Henry -
1 Not Henry - 0
4.
How My Data
Comes From Henry’s Faces – I took a lot of pictures of Henry
5.
How about
others’ faces? - Network Crawler
6.
Use Python
+ Selenium to implement the crawler Got about 20K images. My keywords are keywords = ['happy face', 'smiling', 'face', 'crying', 'beauty', 'fear face', 'worker', 'engineers', 'kid', 'boy', 'girl', 'man', 'model', 'women']
7.
Prepare the Data
How to get the face from the image? OpenCV HAAR Classifier
8.
9.
10.
Finally! I
got many faces. Labeling: The file name ends with “_1” is Henry’s face. With “_0” is others.
11.
630x684=430920 pixels with
RGB color 630x684=430920 pixels with grayscale 30x30=900
12.
Model Train (1) 遍历图片文件夹 读出Label信息 转换图片为矩阵 Shuffle数据顺序 Zip
矩阵和Label信息 切分Train数据和测试数据
13.
Model Train (2) 把[0,255]灰度变为[0,1]浮点 构建一个Neutral
Network 设置训练参数 开始训练 测试训练结果 保存训练的模型
14.
Model Train (3)
My NN has only 3 Layers.
15.
Model Train (4)
GoogLeNet Inception v4 has 22 layers. – Data Scientist
16.
Model Train (5)
17.
Model Train (6) Accuracy
is 95.5% Anyway, my goal is very simple. And 3 layers seem good enough.
18.
Model Predication
19.
Results
20.
But when smiling… More
work to do!
21.
References Face Detection
using HAAR Cascades Face Recognition with Python, in Under 25 Lines of Code Tensorflow Tutorial – Basic Classification Going Deeper With Convolutions
Editor's Notes
430920/900=478.8
脸部的特征能够由矩形特征简单地描绘,例如眼睛要比脸颊颜色深,鼻梁两侧要比鼻梁颜色深,嘴巴要比周围颜色深等