sort imports

This commit is contained in:
Blake Blackshear
2020-11-04 06:31:25 -06:00
parent 3a3cb24631
commit 03c855ecbe
13 changed files with 83 additions and 69 deletions

View File

@@ -2,6 +2,7 @@ import cv2
import imutils
import numpy as np
class MotionDetector():
def __init__(self, frame_shape, mask, resize_factor=4):
self.frame_shape = frame_shape
@@ -79,4 +80,4 @@ class MotionDetector():
cv2.accumulateWeighted(resized_frame, self.avg_frame, 0.2)
self.motion_frame_count = 0
return motion_boxes
return motion_boxes