Spaces:
Running
Running
Commit History
-
feat: scan continuously while detecting motion
Replace step-and-pause scanning with a smooth head sweep. While the head moves, a new ScanDetector cancels the camera's own motion by fitting a homography to tracked background features, warping the older frame onto the newer one, and differencing them. The settings page gets a slider for its threshold and shows the aligned difference while scanning.a9f58f8 -
fix: stop discarding darker objects as shadows
MOG2 shadow detection classified anything moderately darker than the background as shadow, so e.g. gray clothes against a white wall were never detected. Treat every change as motion instead.5547235 -
test: add motion detector tests
f2828f9