Measure Heart Rate from Face.
Following documents and papers helped a lot in developing this.
- Measuring Heart Rate from Video - Isabel Bush - Stanford - link
- Real Time Heart Rate Monitoring From Facial RGB Color Video Using Webcam - H. Rahman, M.U. Ahmed, S. Begum, P. Funk - link
- Measuring Pulse Rate by using webcam - link
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need for development.
- JDK 10
- IntelliJ IDEA (Recommended)
Below are the minimum libraries required for development :
-
Minim can be added in gradle via this link
-
If you are getting below exception then try to set path environment variable to the x64 version of opencv_java410.dll
-
MyFrame.main() Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no opencv_java410 in java.library.path
-
After setting path variable to the location of dll directory, you might need to restart the computer.
Face Detection is processed with HaarCascade
- Pishang Ujeniya - pishangujeniya
- Special thanks to this question on StackOverFlow
- Hat tip to anyone whose code was used
- Inspiration
- etc