Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObserverConfig ¶
type ObserverConfig struct {
MidPoint image.Point
MidRect image.Rectangle
ServoX *Servo
ServoY *Servo
Colors *Colors
Show bool
CalibrateOnStart bool
Haar []string
MaxIdleDuration float64
MaxFPS int
Period int
}
ObserverConfig represents a configuration of the Observer's runtime.
func LoadObserverConfig ¶
func LoadObserverConfig(cfg *config.Config) *ObserverConfig
LoadObserverConfig generates an ObserverConfig and loads required attributes.
Click to show internal directories.
Click to hide internal directories.