15 tracking::TrackPhase state = tracking::TrackPhase::Idle;
26 int frame_width = 320;
27 int frame_height = 240;
29 bool detected()
const {
return state == tracking::TrackPhase::Locked || state == tracking::TrackPhase::Coasting; }
35 uint32_t scene_changes = 0;
Definition track_snapshot.h:32
uint32_t stack_free
detect task stack high-water mark in bytes, sampled every 100 frames
Definition track_snapshot.h:40
uint32_t frames
frames analysed
Definition track_snapshot.h:33
uint32_t decode_us_avg
average since boot
Definition track_snapshot.h:36
uint32_t decode_failures
corrupt JPEG or not QVGA
Definition track_snapshot.h:34
uint32_t track_us_avg
detector + tracker, average since boot
Definition track_snapshot.h:37
uint64_t decode_us_total
sum over analysed frames; the stats line differences it per window
Definition track_snapshot.h:38
uint64_t track_us_total
sum of detector + tracker time over analysed frames
Definition track_snapshot.h:39
Definition track_snapshot.h:14
int x
centroid, pixels
Definition track_snapshot.h:17
int bx
box, pixels, clamped to the frame
Definition track_snapshot.h:19
float vx
pixels per frame
Definition track_snapshot.h:23
Value types shared by the motion detector and the tracker (pure C++20, natively tested).