rekognition

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

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

Configuration structure.

func NewImageProcessor

func NewImageProcessor(opts ...func(*Config)) *Config

func (*Config) Process

func (config *Config) Process(s3Obj *types.S3Object) (*Detection, error)

type Detection

type Detection struct {
	Faces      []types.FaceDetail
	Labels     []types.Label
	Moderation []types.ModerationLabel
	Text       []types.TextDetection
}

type Option

type Option func(config *Config)

func SetLogger

func SetLogger(log *logrus.Logger) Option

func SetProfile

func SetProfile(profile string) Option

func SetRegion

func SetRegion(region string) Option

Jump to

Keyboard shortcuts

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