img2vec

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcImg2Vec

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

GrpcImg2Vec implements Img2Vec interface{}

func NewGrpcImg2Vec

func NewGrpcImg2Vec(stub img2vec.Img2VecClient) *GrpcImg2Vec

NewGrpcImg2Vec returns a new GrpcImg2Vec

func (*GrpcImg2Vec) Vectorize

func (v *GrpcImg2Vec) Vectorize(ctx context.Context, image []byte) ([]float32, error)

Vectorize implements Img2Vec interface{}

type Img2Vec

type Img2Vec interface {
	Vectorize(ctx context.Context, image []byte) ([]float32, error)
}

Jump to

Keyboard shortcuts

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