Hi everybody,
For the purpose of a show, I try to develop a system for detecting smiles.
Let me explain: I would like, through a camera placed at the edge of stage, film viewers and display a graph showing the number of people who laugh a function of time.
I am sure it is possible to achieve this with Arduino. I thought also use OpenCV for face detection. Only I'm a little stuck.
In your opinion, what (hardware and software) do I need to do this? I need your help !
If you have any example or similar projects, let me know.
Thank you for your reply! I will look first on facial recognition before I tackle the Arduino programming. The way may be longer than expected but much more interesting.
First of all, i'm sorry my english can be pretty bad as i'm french and lazy. Too lazy to check my english grammar mistakes.
1. Smile detection
If smile detection a real need. I suggest using Processing. If you really need to make the project pocke sized, then yeah you should probably use a Raspberry instead of an Arduino. Depending on the size / brightness / positions of your attendees, you might have a hardtime to achieve this right.
If you're planning to do this in a movie theater or during a one man show. I think you should investigate on decibel measurement. 40 people laughting are way louder than 2, especially in a large room.
It is way simpler to achieve than smile detection with a large number of attendees and it's a good alternative for whaty ou want to achieve.
For proof of concept, you can check out this Adafruit tutorial on measuring sound levels : Adafruit Sound Levels
If you need a large display with specific artwork when you reach an exact decibel value, you can couple Arduino with processing.
Arduino send db value to Processing over serial port. If db value is higher than xx decibels ... Then, do this (Dispay LOL for exemple) !
a little question, do you think there would be an easy way to distinguish applause from laughter? They are two very distinct sounds. So it should be doable, but how would you do it?
Yeah i think it's doable. By analysing the audio spectrum of each sound (laughter vs applause) and assigning db level + frequency range as a trigger for each case ?