Skip to content

zhanglina94/EmotionPro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmotionPro

Face emotion recognition based on cnn+keras(基于cnn+keras实现的人脸情绪识别)

step1

download fer2013dataset(第一步:下载fer2013数据集)

step2

  • Use pandas to parse the csv file, and then save the original image data as a jpg file, classify it according to the purpose and label, and save it to the corresponding folder.(第二步使用pandas解析csv文件,再将原始图片数据保存为jpg文件,并根据用途和标签标签进行分类,分别保存到对应文件夹下)
  • run fer2013process.py PrivteTest folder/ PublicTest folder/Training folder

step3

  • Build model.py(新建model.py)

step4

  • Build utils.py(新建utils.py)

step5

  • train.py

step6

  • Download the trained model haarcascade,simple_CNN(下载好训练模型haarcascade,simple_CNN)

step7

  • Build utils.py (编写utils.py)

step8

  • Build image.py and input a picture to recognize all the faces and expressions in the picture (编写image.py输入一张图片可以识别图片中所有人脸及表情)

step9

  • real-time detect(编写video_test.py)

About

Emotion Recognition based on CNN

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages