amazonka-lookoutvision-2.0: Amazon Lookout for Vision SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LookoutVision.Types.Anomaly

Description

 
Synopsis

Documentation

data Anomaly Source #

Information about an anomaly type found on an image by an image segmentation model. For more information, see DetectAnomalies.

See: newAnomaly smart constructor.

Constructors

Anomaly' 

Fields

  • name :: Maybe Text

    The name of an anomaly type found in an image. Name maps to an anomaly type in the training dataset, apart from the anomaly type background. The service automatically inserts the background anomaly type into the response from DetectAnomalies.

  • pixelAnomaly :: Maybe PixelAnomaly

    Information about the pixel mask that covers an anomaly type.

Instances

Instances details
FromJSON Anomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.Anomaly

Generic Anomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.Anomaly

Associated Types

type Rep Anomaly :: Type -> Type #

Methods

from :: Anomaly -> Rep Anomaly x #

to :: Rep Anomaly x -> Anomaly #

Read Anomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.Anomaly

Show Anomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.Anomaly

NFData Anomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.Anomaly

Methods

rnf :: Anomaly -> () #

Eq Anomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.Anomaly

Methods

(==) :: Anomaly -> Anomaly -> Bool #

(/=) :: Anomaly -> Anomaly -> Bool #

Hashable Anomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.Anomaly

Methods

hashWithSalt :: Int -> Anomaly -> Int #

hash :: Anomaly -> Int #

type Rep Anomaly Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.Anomaly

type Rep Anomaly = D1 ('MetaData "Anomaly" "Amazonka.LookoutVision.Types.Anomaly" "amazonka-lookoutvision-2.0-3cIJAF9xWxx8xGDY24BOkS" 'False) (C1 ('MetaCons "Anomaly'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pixelAnomaly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PixelAnomaly))))

newAnomaly :: Anomaly Source #

Create a value of Anomaly with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:Anomaly', anomaly_name - The name of an anomaly type found in an image. Name maps to an anomaly type in the training dataset, apart from the anomaly type background. The service automatically inserts the background anomaly type into the response from DetectAnomalies.

$sel:pixelAnomaly:Anomaly', anomaly_pixelAnomaly - Information about the pixel mask that covers an anomaly type.

anomaly_name :: Lens' Anomaly (Maybe Text) Source #

The name of an anomaly type found in an image. Name maps to an anomaly type in the training dataset, apart from the anomaly type background. The service automatically inserts the background anomaly type into the response from DetectAnomalies.

anomaly_pixelAnomaly :: Lens' Anomaly (Maybe PixelAnomaly) Source #

Information about the pixel mask that covers an anomaly type.