camera

package
v0.0.0-...-e582b95 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordVideoToDisk

func RecordVideoToDisk(videoDevice string, seconds float64, outputFolder string, liveView bool) (bool, error)

func SanityCheck

func SanityCheck() (bool, error)

func SetupCascadeFiles

func SetupCascadeFiles()

Types

type Cascade

type Cascade struct {
	// contains filtered or unexported fields
}

type CascadeFile

type CascadeFile struct {
	// contains filtered or unexported fields
}

func (CascadeFile) AsNewCascade

func (cascadeFile CascadeFile) AsNewCascade(classifier *gocv.CascadeClassifier) *Cascade

type DebugStats

type DebugStats struct {
	// contains filtered or unexported fields
}

func (*DebugStats) AddValue

func (stats *DebugStats) AddValue(val float64)

func (*DebugStats) Average

func (stats *DebugStats) Average() float64

func (*DebugStats) AverageFPS

func (stats *DebugStats) AverageFPS() float64

func (*DebugStats) FPS

func (stats *DebugStats) FPS() float64

type DetectParams

type DetectParams struct {
	// contains filtered or unexported fields
}

type DrawOptions

type DrawOptions struct {
	// contains filtered or unexported fields
}

type FrameOverlay

type FrameOverlay struct {
	// contains filtered or unexported fields
}

type Recorder

type Recorder struct {
	// contains filtered or unexported fields
}

func NewRecorder

func NewRecorder(videoDevice string, outputFolder string, liveView bool) *Recorder

func (*Recorder) Close

func (recorder *Recorder) Close()

func (*Recorder) Open

func (recorder *Recorder) Open() error

Jump to

Keyboard shortcuts

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