Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Skip bool `yaml:"skip,omitempty"`
Padding int `yaml:"padding,omitempty"`
MinimumPercentage int `yaml:"minPercentage,omitempty"`
MaximumPercentage int `yaml:"maxPercentage,omitempty"`
MaxMotions int `yaml:"maxMotions,omitempty"`
OverloadPercent int `yaml:"overloadPercent,omitempty"`
ThresholdPercent int `yaml:"thresholdPercent,omitempty"`
NoiseReduction int `yaml:"noiseReduction,omitempty"`
HighlightColor string `yaml:"highlightColor,omitempty"`
HighlightThickness int `yaml:"highlightThickness,omitempty"`
}
Config contains the parameters for Motion detection
type Motion ¶
type Motion struct {
Skip bool
// contains filtered or unexported fields
}
Motion detects motion within images
func (*Motion) Run ¶
func (m *Motion) Run(input <-chan videosource.Image) <-chan videosource.ProcessedImage
Run starts the motion detection process
Click to show internal directories.
Click to hide internal directories.