even further documentation

This commit is contained in:
2018-11-12 13:34:12 +01:00
parent 661c44f459
commit b9beddd4a4
5 changed files with 58 additions and 33 deletions

View File

@@ -1,3 +1,5 @@
"""Some convenience functions which I leave up to you to explore."""
from __future__ import division
import os
@@ -41,6 +43,7 @@ def hsv_mask(hsv, hsv_lower, hsv_upper):
else:
return cv2.inRange(hsv, tuple(hsv_lower), tuple(hsv_upper))
class InterruptDelayed(object):
def __enter__(self):