Vision module

MotionDetectorConfig

Settings for a MotionDetector: the grid each frame is reduced to, the f

#include <icy/vision/motiondetector.h>

struct MotionDetectorConfig

Defined in src/vision/include/icy/vision/motiondetector.h:31

Settings for a MotionDetector: the grid each frame is reduced to, the frames it learns from before reporting, the change that counts as motion, and the least time between events.

Public Attributes

ReturnNameDescription
std::stringsource
std::stringstreamId
std::stringdetectorName
uint32_tgridWidth
uint32_tgridHeight
uint32_twarmupFrames
floatthreshold
int64_tminEventIntervalUsec

source

std::string source

Defined in src/vision/include/icy/vision/motiondetector.h:33


streamId

std::string streamId

Defined in src/vision/include/icy/vision/motiondetector.h:34


detectorName

std::string detectorName = "motion"

Defined in src/vision/include/icy/vision/motiondetector.h:35


gridWidth

uint32_t gridWidth = 32

Defined in src/vision/include/icy/vision/motiondetector.h:36


gridHeight

uint32_t gridHeight = 18

Defined in src/vision/include/icy/vision/motiondetector.h:37


warmupFrames

uint32_t warmupFrames = 2

Defined in src/vision/include/icy/vision/motiondetector.h:38


threshold

float threshold = 0.08f

Defined in src/vision/include/icy/vision/motiondetector.h:39


minEventIntervalUsec

int64_t minEventIntervalUsec = 500000

Defined in src/vision/include/icy/vision/motiondetector.h:40