Skip to content

YasminAwad/DjangoProject_VideoEmotionApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DjangoProject_VideoEmotionApp

This project was carried out in 2019 toghether with Niki Di Costanzo.

Goals:

  • allow video playback
  • detect users facial expressions when viewing videos
  • suggest feelings to the user based on what has been detected
  • save the feeling detected and the user's response in a database (associating the relative time moment of the video)
  • allow access to multiple sessions
  • allow the visualization of the statistics of each video and the download of its json file

To carry out the project were used:

Views realized:

  • emotion: contains the code to detect facial expressions. Triggered via an Ajax call after pressing the play button. This view saves in a session variable (emotion) the average of the emotions detected every 10 seconds.
  • emotionReading: allows the exchange of information with javascript (video_detail.js), in particular to pass the detected emotions. This is done through the use of a json file (dictionary).
  • videoDet: allows you to view a specific video.
  • saveStat: updates the database by adding a row in the Statistics model. It is called when the user answers a question.
  • getStat: allows you to view the contents of the Statistics model.

Images of the final product

About

Video Emotion App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published