An ongoing port of thearn's pulse detector (https://github.com/thearn/webcam-pulse-detector). From python to OpenCV