Group Abstract Group Abstract

Message Boards Message Boards

Facial gesture detection with Classify

Posted 10 years ago
POSTED BY: William Duhe
4 Replies
Posted 10 years ago

Ok - so with a little bit of changes I can get this to work 99% of the time with 4 facial states dynamically.

-Smile -Frown -Excited -Scowl

Check out the live demo at:

https://www.youtube.com/watch?v=a39LL5wV_A4&feature=youtu.be

All I did was implement validations sets of equal length of the training sets - both being 50 - and set the FeatureExtractor to be "FaceFeatures". This is new to Mathematica 11. I am really excited about how well this works.

c1 = Classify[
  Join[smileData[[1 ;; 50]], neutralData[[1 ;; 50]], 
   scowlData[[1 ;; 50]], excitedData[[51 ;; 100]]], 
  Method -> "NeuralNetwork", PerformanceGoal -> "Quality", 
  FeatureExtractor -> "FaceFeatures", 
  ValidationSet -> 
   Join[smileData[[51 ;; 100]], neutralData[[51 ;; 100]], 
    scowlData[[51 ;; 100]], excitedData[[51 ;; 100]]]]
POSTED BY: William Duhe
Posted 10 years ago

I will submit another post where I show this process working with 4 different facial states and 2 users dynamically in the next week! It iwll be able to tell the difference between different users and label them appropriately. I will also integrate voice analysis that works to analyze what a user is saying and put chat bubbles above their heads with a coloring based on the sentiment of what they said. Thanks for supporting the post and if there are any suggestions on how to improve the process in the future - let me know.

POSTED BY: William Duhe
POSTED BY: Bianca Eifert

enter image description here - you earned "Featured Contributor" badge, congratulations !

This is a great post and it has been selected for the curated Staff Picks group. Your profile is now distinguished by a "Featured Contributor" badge and displayed on the "Featured Contributor" board.

POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard