pishangujeniya / FaceToHeart

Get Heart Rate from Face using Java and OpenCV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FaceToHeart

Measure Heart Rate from Face.

Inspired from

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

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need for development.

Libraries Needed

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

Face Detection is processed with HaarCascade

Authors

Acknowledgments

  • Special thanks to this question on StackOverFlow
  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

About

Get Heart Rate from Face using Java and OpenCV


Languages

Language:Java 100.0%