cv

package
v0.0.0-...-d12e797 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

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

Stream ...

func NewStream

func NewStream(cam *gocv.VideoCapture, host string) *Stream

NewStream ...

func (*Stream) SetHSV

func (s *Stream) SetHSV(lh, ls, lv, hh, hs, hv float64)

func (*Stream) Start

func (s *Stream) Start()

Start ...

func (*Stream) Tracked

func (s *Stream) Tracked(enabled bool)

type Tracker

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

Tracker ...

func NewTracker

func NewTracker(lh, ls, lv, hh, hs, hv float64) (*Tracker, error)

NewTracker ...

func (*Tracker) Close

func (t *Tracker) Close()

Close ...

func (*Tracker) Locate

func (t *Tracker) Locate() (bool, *image.Rectangle)

Locate ...

func (*Tracker) MiddleXY

func (t *Tracker) MiddleXY(rect *image.Rectangle) (x int, y int)

MiddleXY ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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