auto tracking, some comments and thoughts #1484
Closed
quantenschaum
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First, motion is great piece of software. Thank you!
setup
track_type 4
)problem/idea
The default value for
track_move_wait
seems to be 10, not 0 as stated in the docs.When
track_move_wait > 0
it does not just disable tracking, but disables motion detection by setting the value of changed pixel to 0 to keep it below threshold. The doc saysSo I would expect, that further tracking (calls of
track_generic_move
script) is suppressed for the given number of frames, but not the motion detection.text_changes on
should always show the number of changed pixels, even if tracking or motion detection is disabled. These pixel have actually changed. You cannot suppress the pixels from changing, but you can suppress the action to be taken.There should be 2 settings, one to disable tracking for a certain time (not frames or allow both via appending a unit like
s
orf
) and one to disable motion detection (2 different things).Moving the camera causes motion, so a tracking delay is necessary to prevent an infinit loop. The motion during tracking should be recorded, because it usually follows the object, that triggered the event initially. With
track_move_wait > 0
only the initial frame is recorded and thepost_capture
frames. Pausing tracking for a certain time is usually sufficient to settle.Only when moving back to center position on event end, motion detection should be suppressed.
If tracking is suppressed by the script, it should report this back to motion via the return code, so that motion knows, that the camera did not actually move (0=moved, 0!= not moved).
workaround
Setting
track_move_wait 0
and block tracking in the script for a certain time. Only blockTRACK_ACTION=move
, but notTRACK_ACTION=center
.Beta Was this translation helpful? Give feedback.
All reactions