frame

package
v0.0.0-...-f337dd8 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frame

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

func NewFrame

func NewFrame(frameIndex int, mat *gocv.Mat) (*Frame, error)

func (*Frame) Clone

func (f *Frame) Clone() (*Frame, error)

func (*Frame) Close

func (f *Frame) Close()

func (*Frame) FrameIndex

func (f *Frame) FrameIndex() int

func (*Frame) Gray

func (f *Frame) Gray() (*Frame, error)

func (*Frame) Height

func (f *Frame) Height() int

func (*Frame) Mat

func (f *Frame) Mat() *gocv.Mat

func (*Frame) Pixels

func (f *Frame) Pixels() int

func (*Frame) Width

func (f *Frame) Width() int

type FrameBuffer

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

func NewFrameBuffer

func NewFrameBuffer() *FrameBuffer

func (*FrameBuffer) DiffPercentage

func (fb *FrameBuffer) DiffPercentage(currentFrame *Frame) float64

func (*FrameBuffer) FramesCountSinceStart

func (fb *FrameBuffer) FramesCountSinceStart(currentFrame *Frame) int

func (*FrameBuffer) LastDiffPercentage

func (fb *FrameBuffer) LastDiffPercentage() float64

func (*FrameBuffer) MeanDiffPercentage

func (fb *FrameBuffer) MeanDiffPercentage() float64

func (*FrameBuffer) PixelsDiffCount

func (fb *FrameBuffer) PixelsDiffCount(currentFrame *Frame) int

func (*FrameBuffer) Reset

func (fb *FrameBuffer) Reset()

func (*FrameBuffer) UpdateAverageDiffPercentage

func (fb *FrameBuffer) UpdateAverageDiffPercentage(currentFrame *Frame)

func (*FrameBuffer) UpdateAverageFrame

func (fb *FrameBuffer) UpdateAverageFrame(currentFrame *Frame)

Jump to

Keyboard shortcuts

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