Saving key event video clips with OpenCV – PyImageSearch