detection

package
v0.0.0-...-1174e2e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2017 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectCameras

func DetectCameras()

DetectCameras detects and files the index of available cameras. Take into account current camera if already on

func EndCameraDetect

func EndCameraDetect()

EndCameraDetect stop the associated goroutine turning on camera

func RestartCamera

func RestartCamera(rootdir string, shutdown <-chan interface{}, wg *sync.WaitGroup)

RestartCamera stops and restarts the camera in a sync fashion (wait for the camera to stop before sending the Start signal)

func StartCameraDetect

func StartCameraDetect(rootdir string, shutdown <-chan interface{}, wg *sync.WaitGroup)

StartCameraDetect creates a go routine handling web cam recording and image generation

func WipeScreenshots

func WipeScreenshots(dir string)

WipeScreenshots removes screenshots in dir unconditionally (existing or not)

Types

type RenderedImage

type RenderedImage struct {
	RenderingMode datastore.RenderMode
	// contains filtered or unexported fields
}

RenderedImage abstract if we are using opencv or direct image blending

func (*RenderedImage) DrawFace

func (r *RenderedImage) DrawFace(face *opencv.Rect, num int, cvimage *opencv.IplImage)

DrawFace renders a new face on top of image depending on rendering type

func (*RenderedImage) Save

func (r *RenderedImage) Save()

Save current image in destination file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL