Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cam ¶
type Cam struct { Name string Index int Bot *telegram.Bot Store *datastore.Store FrameLimit *ratelimit.Bucket BurstLimit *ratelimit.Bucket PaceLimit *ratelimit.Bucket LastOverviewSent time.Time SnapshotChan chan jobs.Cmd FrameChan chan jobs.Cmd PubSubControl bool MaxWidth int MaxHeight int MinWidth int MinHeight int RequirePortrait bool MinConfidence int CropRect *image.Rectangle ROIRect *image.Rectangle SendRejected bool VideoCaptureURI string // contains filtered or unexported fields }
func (*Cam) TakeFrameBuckets ¶
func (*Cam) TokensRemaining ¶
type Config ¶
type Config struct { Name string Index int Bot *telegram.Bot Store *datastore.Store VideoCaptureURI string PubSubControl bool MaxWidth int MaxHeight int MinWidth int MinHeight int RequirePortrait bool MinConfidence int SendRejected bool CropX int CropY int CropWidth int CropHeight int ROIX int ROIY int ROIWidth int ROIHeight int }
Click to show internal directories.
Click to hide internal directories.