Skip to content

Repository files navigation

Inspiration

I enjoy playing music or being a part of it. However, there are some people who might not be able to participate in such activity. So it would be better if at least they could be a part of music by using their face motion instead.

What it does

The program plays a note according to the position of a face. The user can also transpose the key (change to a higher or lower pitch set) and change a duration of a note.

How I built it

with Googling, tweaking, adding more lines, and using some idea, I managed to use OpenCV with Java in Eclipse.

Challenges I ran into

Sometimes, I could not detect problems so I spent a lot of time debugging and googling how to use this or use that.

Accomplishments that I'm proud of

-The ability to abstract something completely new and apply it into a work with a certain level of understanding.

What I learned

-Learn what openCV is and how to use it. -Learn how to use SceneBuilder and JFX.

What's next for Key-Motion

-Could be applied by using Microsoft Azure (which I forgot to use...)

-Make the code cleaner

-Improve GUI

-Improve sound quality

-Improve stability

https://pages.mtu.edu/~suits/notefreqs.html

https://stackoverflow.com/questions/34611134/java-beep-sound-produce-sound-of-some-specific-frequencies/34614140

https://github.com/opencv-java/face-detection

http://opencv-java-tutorials.readthedocs.io/en/latest/06-face-detection-and-tracking.html

https://github.com/opencv-java/getting-started/tree/master/FXHelloCV/src/it/polito/elite/teaching

https://docs.opencv.org/master/d1/d0a/tutorial_java_eclipse.html

https://docs.opencv.org/master/d6/d55/tutorial_table_of_content_calib3d.html

About

Face Detection with Sound

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages