GithubHelp home page GithubHelp logo

floresfabiana / pulse-classification-svm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akasantony/pulse-classification-svm

0.0 2.0 0.0 26.87 MB

Classification of emotions based on age and pulse rate using Support Vector Machines

Python 100.00%

pulse-classification-svm's Introduction

pulse-classification-svm

A simple classifier that takes in age and pulse rate as features and classifies the emotion using an Support Vector Machine classifier. Training data is present under assets/training_data/datasets.txt

Introduction

The basic idea behind this application is to understand human emotions based on the pulse-rate and age. The classifier is trained using age and pulse-rate as features. The emotions are classified into four classes angry, happy, excited, sad and are labeled from 0-3. The classifier then takes in array containing pulse-rate and age as input for predicting the emotion.

The pulseextraction module is used for detecting the pulse-rate of a human by analysing video samples of the person's finger. Frames are extracted from the video sample and based on the intensity of the Red component of the pixel in each frame a graph is plotted.

Dependencies

This code is written in Python. To use the code you'll need the following:

Getting Started

  1. Get a copy of the code onto your local repository :

git clone https://github.com/akasantony/pulse-classification-svm.git

  1. Run python script.py to load the training dataset and class labels as a NumPy array.

  2. Run the code:

python main.py

pulse-classification-svm's People

Contributors

akasantony avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.