modules

package
v0.0.0-...-c6d2f1e Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertImageToMat

func ConvertImageToMat(image image.Image) (mat gocv.Mat, err error)

func HLine

func HLine(img *image.RGBA, x1, y, x2 int, col color.Color)

HLine draws a horizontal line

func Rect

func Rect(img *image.RGBA, x1, y1, x2, y2, width int, col color.Color)

Rect draws a rectangle utilizing HLine() and VLine()

func VLine

func VLine(img *image.RGBA, x, y1, y2 int, col color.Color)

VLine draws a veritcal line

Types

This section is empty.

Jump to

Keyboard shortcuts

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