pub struct MotionReport {
pub ptz: Option<PtzTelemetry>,
pub frame_transform: Option<GlobalTransformEstimate>,
pub motion_hint: Option<CameraMotionState>,
pub ptz_events: Vec<PtzEvent>,
}Expand description
What the view system receives from the provider each frame.
The provider fills in whichever fields are available. The view system
derives MotionSource from the field contents
(see the architecture spec §9 for derivation rules).
Fields§
§ptz: Option<PtzTelemetry>PTZ telemetry, if available from the camera’s control interface.
frame_transform: Option<GlobalTransformEstimate>Frame-to-frame transform estimate (from optical flow, homography, etc.).
This is the primary egomotion signal when PTZ telemetry is absent.
motion_hint: Option<CameraMotionState>Optional hint about whether the camera is moving.
If None, the view system infers motion from the ptz deltas
or frame_transform displacement magnitude.
ptz_events: Vec<PtzEvent>Discrete PTZ control events received since the previous frame.
Empty when no PTZ command stream is available. Providers that monitor an ONVIF event channel or serial command bus populate this with the events that arrived between frames.
The epoch policy considers these events alongside telemetry and inferred motion to make segmentation decisions.
Trait Implementations§
Source§impl Clone for MotionReport
impl Clone for MotionReport
Source§fn clone(&self) -> MotionReport
fn clone(&self) -> MotionReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more