Documentation ¶
Index ¶
- func AffineMatrixToTensor(mat gocv.Mat) (*tensor.Dense, error)
- func BytesToT32[T int32 | float32](arr []byte) []T
- func BytesToT64[T int64 | float64](arr []byte) []T
- func ComputeLinearNorm(t1, t2 *tensor.Dense) (float32, error)
- func ConvertImageToMat(bImage []byte) (*gocv.Mat, error)
- func Cross2D(a, b *tensor.Dense) (float32, error)
- func DerefPointer[T string | bool | int | int8 | int16 | int32 | int64 | float32 | float64](val *T) T
- func OpenCVImageToJPEG(fPath string, jpegQuality int, img gocv.Mat) error
- func RefPointer[T string | bool | int | int8 | int16 | int32 | int64 | float32 | float64](val T) *T
- func Subtract(a, b *tensor.Dense) (*tensor.Dense, error)
- func TensorToPoint2fVector(t *tensor.Dense) (gocv.Point2fVector, error)
- func TensorToPoints(t *tensor.Dense) ([]gocv.Point2f, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToT32 ¶
func BytesToT64 ¶
func DerefPointer ¶
func RefPointer ¶
func TensorToPoint2fVector ¶
func TensorToPoint2fVector(t *tensor.Dense) (gocv.Point2fVector, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.