OpenCV-based Python utilities