Bump pixel difference thresholds
This commit is contained in:
parent
3a5461b91e
commit
eb9961c77f
@ -246,7 +246,7 @@ async def motion_detector(reference_frame, download_queue, upload_queue):
|
||||
reference_frame.put(y)
|
||||
try:
|
||||
app.ctx.mask = cv2.inRange(cv2.absdiff(y,
|
||||
reference_frame.get()), 25, 65535)
|
||||
reference_frame.get()), 50, 65535)
|
||||
except ReferenceFrame.NotEnoughFrames:
|
||||
app.ctx.mask = None
|
||||
motion_detected = False
|
||||
|
Loading…
Reference in New Issue
Block a user