gcv

package module
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: BSD-3-Clause Imports: 3 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gcv

Build Status Build Status CircleCI Status codecov Go Report Card GoDoc Release

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindImg

func FindImg(img, subImg image.Image) (float32, float32, image.Point, image.Point)

FindImg find image in the subImg

func FindImgByte

func FindImgByte(img, subImg []byte) (float32, float32, image.Point, image.Point)

FindImgByte find image in the subImg by []byte

func FindImgFile

func FindImgFile(file, subFile string, flag ...int) (float32, float32, image.Point, image.Point)

FindImgFile find image file in subfile

func FindImgMat

func FindImgMat(imRgb, temp gocv.Mat) (float32, float32, image.Point, image.Point)

FindImgMat find the image Mat in the temp Mat

func FindImgXY

func FindImgXY(img, subImg image.Image) (int, int)

FindImgXY find image in the subImg return x, y

func IMRead

func IMRead(file string, flag ...int) gocv.Mat

IMRead read the image file to gocv.Mat

func ImgToMat

func ImgToMat(img image.Image) (gocv.Mat, error)

ImgToMat trans image.Image to gocv.Mat

func MatToImg

func MatToImg(m1 gocv.Mat) (image.Image, error)

MatToImg trans gocv.Mat to image.Image

func Show

func Show(img gocv.Mat)

Show show the gocv.Mat image

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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