AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ImageQuality

import "github.com/aws/aws-sdk-go/service/rekognition"

type ImageQuality struct { Brightness *float64 `type:"float"` Sharpness *float64 `type:"float"` }

Identifies face image brightness and sharpness.

Brightness

Type: *float64

Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.

Sharpness

Type: *float64

Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.

Method

GoString

func (s ImageQuality) GoString() string

GoString returns the string representation

SetBrightness

func (s *ImageQuality) SetBrightness(v float64) *ImageQuality

SetBrightness sets the Brightness field's value.

SetSharpness

func (s *ImageQuality) SetSharpness(v float64) *ImageQuality

SetSharpness sets the Sharpness field's value.

String

func (s ImageQuality) String() string

String returns the string representation

On this page: