rohintangirala / eulerian-remote-heartrate-detection Goto Github PK
View Code? Open in Web Editor NEWRemote heart rate detection through Eulerian magnification of face videos
Remote heart rate detection through Eulerian magnification of face videos
The frequency range is set to be 1~1.8. How can we get these value? It's said that heart rate should located within 0.4 ๏ฝ 4 Hz.
I used ffmpeg to convert the video format from .mkv to .avi .mp4 .mov Three types of videos got different results. And it happened on another video too. So I modified the heartrate.py
add : print("peak is: ",peak,"hight is: ",fft_maximums[peak],"In this case HR is: ",freqs[peak]*60)
video.mp4
peak is: 12 hight is: 2.968162773664705 In this case HR is: 71.70124481327802
peak is: 14 hight is: 2.600039322516675 In this case HR is: 83.65145228215769
video.avi
peak is: 10 hight is: 3.3830124388984726 In this case HR is: 60.0
peak is: 14 hight is: 2.704215718114888 In this case HR is: 84.00000000000001
peak is: 16 hight is: 2.337397877666178 In this case HR is: 96.0
video.mov
peak is: 12 hight is: 2.968162773664705 In this case HR is: 71.70124481327802
peak is: 14 hight is: 2.600039322516675 In this case HR is: 83.65145228215769
same as video.mp4
It seemed mp4 mov format is a good choice.
but when I use mp4 file (record by my mobile phone) error occurred
Traceback (most recent call last):
File "C:\Users\94047\Desktop\eulerian-remote-heartrate-detection-master\main.py", line 39, in
print("Heart rate: ", heart_rate, "bpm")
I found that the output parameter "video_frames" of preprocessing.py sometimes will keep blank (no data) when the person wearing the glasses in the video.
Have you encountered a similar issue before?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.