part

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const FILLED = -1

Variables

View Source
var EllipseNotFound = events.Ellipse{Confidence: 0.}

Functions

This section is empty.

Types

type RoadDetector

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

func NewRoadDetector

func NewRoadDetector() *RoadDetector

func (*RoadDetector) Close

func (rd *RoadDetector) Close() error

func (*RoadDetector) ComputeEllipsis

func (rd *RoadDetector) ComputeEllipsis(road *gocv.PointVector) *events.Ellipse

func (*RoadDetector) DetectRoadContour

func (rd *RoadDetector) DetectRoadContour(imgGray *gocv.Mat, horizonRow int) *gocv.PointVector

type RoadPart

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

func NewRoadPart

func NewRoadPart(client mqtt.Client, horizon int, cameraTopic, roadTopic string) *RoadPart

func (*RoadPart) OnFrame

func (r *RoadPart) OnFrame(_ mqtt.Client, msg mqtt.Message)

func (*RoadPart) Start

func (r *RoadPart) Start() error

func (*RoadPart) Stop

func (r *RoadPart) Stop()

Jump to

Keyboard shortcuts

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