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"`
ForceCpu bool `yaml:"forceCpu,omitempty"`
Padding int `yaml:"padding,omitempty"`
ModelFile string `yaml:"modelFile,omitempty"`
ConfigFile string `yaml:"configFile,omitempty"`
DescFile string `yaml:"descFile,omitempty"`
ScaleWidth int `yaml:"scaleWidth,omitempty"`
MinConfidencePercentage int `yaml:"minConfidencePercentage,omitempty"`
MinMotionFrames int `yaml:"minMotionFrames,omitempty"`
MinPercentage int `yaml:"minPercentage,omitempty"`
MaxPercentage int `yaml:"maxPercentage,omitempty"`
MinOverlapPercentage int `yaml:"minOverlapPercentage,omitempty"`
SameOverlapPercentage int `yaml:"sameOverlapPercentage,omitempty"`
AllowedList []string `yaml:"allowedList,omitempty"`
HighlightColor string `yaml:"highlightColor,omitempty"`
HighlightThickness int `yaml:"highlightThickness,omitempty"`
}
Config contains the parameters for tensor detection
type Tensor ¶
Tensor detects objects within images
func (*Tensor) Run ¶
func (t *Tensor) Run(input <-chan videosource.ProcessedImage) <-chan videosource.ProcessedImage
Run starts the tensor detection process
Click to show internal directories.
Click to hide internal directories.