faceinserter

package
v0.0.0-...-ae3587a Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inserter

type Inserter struct {
	*worker.Worker
	// contains filtered or unexported fields
}

Inserter represents the face-encoding data inserter

func New

func New(postgresHost, postgresPassword string, qReader *kafka.Reader) *Inserter

New returns an initilized inserter

func (*Inserter) InsertFaceEncoding

func (i *Inserter) InsertFaceEncoding(reconResult *models.FaceRecognitionResult) error

InsertFaceEncoding inserts the encoded face data into postgres

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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