streamwatcher/watch.go
2020-07-11 15:30:38 +00:00

13 lines
275 B
Go
Executable file

package main
import (
"image"
"image/color"
)
// Watch defines one or more areas that should be monitored for motion
type Watch struct {
Name string `json:"name"`
Color color.RGBA `json:"color"`
Areas []image.Rectangle `json:"areas"`
}