Bump pixel difference thresholds
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
Lauri Võsandi 2022-12-13 23:18:04 +02:00
parent 3a5461b91e
commit eb9961c77f
1 changed files with 1 additions and 1 deletions

View File

@ -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