Documentation ¶
Index ¶
- Constants
- func Camera() int
- func FaceDetection() bool
- func SetCamera(cameranum int)
- func SetFaceDetection(faceDetection bool)
- func SetRenderingMode(renderingMode RenderMode)
- func StartDB(dir string, shutdown <-chan interface{}, wg *sync.WaitGroup)
- func WipeDB(dir string)
- type Database
- type RenderMode
- type Stat
Constants ¶
View Source
const ( // NORMALRENDERING draws circles around heads NORMALRENDERING = iota // FUNRENDERING draws logos instead on top of heads FUNRENDERING )
Variables ¶
This section is empty.
Functions ¶
func SetFaceDetection ¶
func SetFaceDetection(faceDetection bool)
SetFaceDetection save new detection state
func SetRenderingMode ¶
func SetRenderingMode(renderingMode RenderMode)
SetRenderingMode save new rendering mode
Types ¶
type Database ¶
type Database struct { // Stats has the full collection of added Stat from the DB or live Stats []Stat // contains filtered or unexported fields }
Database is the global DB handler
var ( // DB main object DB Database )
type RenderMode ¶
type RenderMode int
RenderMode corresponds to various rendering mode options (fun, normal…)
Click to show internal directories.
Click to hide internal directories.