Samuel Pröll - Personal homepage

Facial landmark detection made easy with MediaPipe

MediaPipe update 2023 Please note that MediaPipe has seen major changes in 2023 and now offers a redesigned API. The code in this posts still works as of mediapipe==0.10.7. Check out this post for more details on the new API. In 2019, Google open-sourced MediaPipe, a set of machine learning-based solutions for a variety of computer vision problems. Although currently still in alpha, the ease of use, speed and performance of the provided pretrained models is very impressive.

Measure heart rate from webcam videos (yarppg)

The human eye is an amazing and powerful organ. However, humans are not good at spotting small changes in color or intensity. By contrast, cameras obtain a numeric representation of a scene with incredibly high color resolution. A camera can therefore be used to detect tiny differences in successive video frames in order to gain meaningful information. Using some basic tools from computer vision and signal processing, it is even possible to measure the heart rate of a person sitting in front of a regular webcam.


I am Samuel Pröll, currently working as a senior data scientist in the pharmaceutical manufacturing industry. In my previous role as junior researcher at the Tyrolean Private University UMIT (Hall in Tirol, Austria), my research was focused on biomedical image analysis and biosignal processing. About this blog In this blog, I will try to post small yet interesting nuggets of knowledge, that I have unearthed during my work as a researcher in the biomedical field and as a data scientist in the healthcare industry.