Documentation ¶
Index ¶
Constants ¶
View Source
const ( FrameW = 1920 // The width of the frames captured by the Webcam in pixels. FrameH = 1080 // The height of the frames captured by the webcam in pixels. WBuckets = 20 // The number of horizontal buckets a frame is broken into. HBuckets = 20 // The number of vertical buckets a frame is broken into. BucketW = FrameW / WBuckets // The width of a bucket in pixels. BucketH = FrameH / HBuckets // The height of a bucket in pixels )
Variables ¶
This section is empty.
Functions ¶
func GetDataDir ¶
func GetDataDir() string
func SaveAsJSON ¶
Types ¶
type Configuration ¶
type Configuration struct { DBUserName string // The name of the user with read/write privileges on DBName DBPassword string // The password of the user with read/write privileges on DBName. DBName string // The name of the database that holds the production data. DBTestName string // The name of the database that holds testing data. Address string // The address and port that the mothership is accessible on. StaticAssets string // The path to the static assets rendered by the mothership. SummariseInterval int // The number of milliseconds to wait between updating the interaction summaries. }
func Parse ¶
func Parse(configFile string) (c Configuration, err error)
Click to show internal directories.
Click to hide internal directories.