Builder

class Builder

Properties

Link copied to clipboard

If the model is an image segmentation model, Anomalies contains a list of anomaly types found in the image. There is one entry for each type of anomaly found (even if multiple instances of an anomaly type exist on the image). The first element in the list is always an anomaly type representing the image background ('background') and shouldn't be considered an anomaly. Amazon Lookout for Vision automatically add the background anomaly type to the response, and you don't need to declare a background anomaly type in your dataset.

Link copied to clipboard

If the model is an image segmentation model, AnomalyMask contains pixel masks that covers all anomaly types found on the image. Each anomaly type has a different mask color. To map a color to an anomaly type, see the color field of the PixelAnomaly object.

Link copied to clipboard

The confidence that Lookout for Vision has in the accuracy of the classification in IsAnomalous.

Link copied to clipboard

True if Amazon Lookout for Vision classifies the image as containing an anomaly, otherwise false.

Link copied to clipboard

The source of the image that was analyzed. direct means that the images was supplied from the local computer. No other values are supported.

Functions

Link copied to clipboard