A Winform app detect user's emotion from PC webcam
So far, this is one of my Toy projects in 2018. Through this project, the author want to learn Neural Network and reinforce my C# coding skill. Thank for your attention and wish you have as much good time as I had with this demo.
- EmguCV v3.4.1.2976 - OpenCV C# Wrapper
Or
Install EmguCV as a NuGet package by command
PM> Install-Package Emgu.CV -Version 3.4.1.2976
- Anaconda, Python
First, we will create a winform to capture data frames from webcam device by avicap32 dll lib EmguCV.
-
HAL's Introduction to Emotion Recognition for Digital Images
-
USC's Analysis of Emotion Recognition Using Facial Expressions and others information
This is my personal logs about the obstacles I met while doing this project.
Apr 8, 2018
Began to design a draft for Winform App. Quite easy *LOL*.
Then, stuck right at the webcam data retrieving process. After a brief google search I found a solution using avicap.dll.
OK, webcam's video displayed successfully. But, I concidently found that using *avicap.dll* was deprecated.
There are currently (in 2018) 3 ways to get data from your webcam:
- WIA
- Avicap
- DirectShow (or DirectShowNet - a wrapper for C#)
Yeah, somehow I realized that my 30 mins of work was for nothing.
Note: Alway research carefully before writing any of code.
Apr 9, 2018