CHANGES :)
This commit is contained in:
@@ -47,6 +47,5 @@ class SingleMotionDetector:
|
||||
(x, y, w, h) = cv2.boundingRect(c)
|
||||
(minX, minY) = (min(minX, x), min(minY, y))
|
||||
(maxX, maxY) = (max(maxX, x + w), max(maxY, y + h))
|
||||
# otherwise, return a tuple of the thresholded image along
|
||||
# with bounding box
|
||||
# otherwise, return a tuple of the thresholded image along with bounding box
|
||||
return (thresh, (minX, minY, maxX, maxY))
|
||||
|
||||
Reference in New Issue
Block a user