Interface Anomaly.Builder

    • Method Detail

      • name

        Anomaly.Builder name​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pixelAnomaly

        Anomaly.Builder pixelAnomaly​(PixelAnomaly pixelAnomaly)

        Information about the pixel mask that covers an anomaly type.

        Parameters:
        pixelAnomaly - Information about the pixel mask that covers an anomaly type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.