Skip to content

This repository contains models and deployment to predict age,gender and emotion based on images in real time.

Notifications You must be signed in to change notification settings

Anshal55/Real-time-age-gender-and-emotion

Repository files navigation

Real-time-age-gender-and-emotion prediction.

Introduction

  • The aim of this project to predict the age,gender and emotion of a person by their picture or video.

Working Demo

  • The working demo of prediction on an Image. image

  • The demo of deployed model for image.

DEmo_Flask

  • Prediction on a Video.

Video

To get this working on your machine.

Instal the given dependencies.

Open the terminal and follow the given steps.

  1. Clone the repository by usning the following commmand.
git clone https://github.com/Anshal55/Real-time-age-gender-and-emotion.git
  1. Move into the main directory.
cd Real-time-age-gender-and-emotion/
  1. For Image prediction run the following script.
python predictionImage.py
  1. For prediction on video run
python predictionVideo.py

To see the deployment follow the given steps.

  1. Move to deployment directory.
cd Deployment/
  1. Run the appImage.py for Image and go to the produced link.
python appImage.py
  1. Run the appVideo.py for live webcam prediction and go to the link.
python appVideo.py

Links would look like this

Running on http://127.0.0.1:20000/ (Press CTRL+C to quit)

Open to suggestions and improvements.


Facebook  LinkedIn  Gmail  Kaggle 

About

This repository contains models and deployment to predict age,gender and emotion based on images in real time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published