capture

package
v0.0.0-...-96ef8ab Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

func Capture(opt *Option, processor Processor) error

Types

type Frame

type Frame struct {
	Buffer []byte
	Width  int
	Height int
	// contains filtered or unexported fields
}

func (*Frame) Free

func (f *Frame) Free()

type Option

type Option struct {
	Device string
}

type Processor

type Processor func(frame *Frame) (bool, error)

Jump to

Keyboard shortcuts

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