Code Monkey home page Code Monkey logo

video-sentiment-analysis's Introduction

IS460 - Machine Learning & Applications

What the project is about?

Video Sentiment Analysis Project

plot

It is web appication that allows uploading of videos to perform sentiment anaylsis. The possible output labels are [positive, negative, mixed].

The video is split into 4 layers (can be reference from the picture above)

Audio - Music Sentiment Analysis

  1. LinearSVC Model was built using spotify api to get certain engineered features. Has an F1-score of 80%
  2. Uses audd api to identify music before using the model

Audio - Text NLP

  1. Uses speech to text api
  2. uses Voting classifer model. Has an F1-score of 85%~

Visual - Object Detection

  1. uses Yolov5, best opensource standard out there

Visual - Facial Emotion Analysis

  1. Identify smiling index of face from video
  2. CNN Facial Emotion Detection Model

For more details: https://docs.google.com/presentation/d/1jLyBqeoLTSscScPBxedaUsNb95lAfZBWbvQHMSe2Q8c/edit?usp=sharing

How to run the project

  1. Create your python virtual environment - (Optional)
  2. Run Command pip install -r requirements.txt (Do note that it might take awhile as there are a lot of dependencies)
  3. go into the directory integrated/webapp/
  4. Run Command python app.py
  5. Open your browser and go to http://localhost:5000/

Important to note

Some External modules/api require API token to access their services, they may have expired. List of modules that require API token are as follows:

  • https://docs.audd.io/#api-methods - get music attributes (title & artist, etc)

  • require env file to use spotify API (We included it in our files already for faster access) CLIENT_ID="" CLIENT_SECRET="""

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.