utils

package
v0.0.0-...-1cc333a Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToFloat32

func BytesToFloat32(bytes []byte) float32

func BytesToFloat64

func BytesToFloat64(bytes []byte) float64

func ConvertImageToOpenCV

func ConvertImageToOpenCV(bImage []byte) (*opencv.Mat, error)

ConvertImageToOpenCV converts the raw image into OpenCV Matrix

func MakeMatrix

func MakeMatrix[T any](t T, row, col, depth int)

func MultiplyAll

func MultiplyAll[v int | int8 | int16 | int32 | int64 | float32 | float64](s []v) v

func OpenCVImageToJPEG

func OpenCVImageToJPEG(fPath string, jpegQuality int, opencvImg opencv.Mat) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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