forked from Github/frigate
sort imports
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user