Class ClassifiedImage

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v3.model.ClassifiedImage
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ClassifiedImage
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Results for one image.
  • Constructor Details

    • ClassifiedImage

      public ClassifiedImage()
  • Method Details

    • getSourceUrl

      public String getSourceUrl()
      Gets the sourceUrl.

      Source of the image before any redirects. Not returned when the image is uploaded.

      Returns:
      the sourceUrl
    • getResolvedUrl

      public String getResolvedUrl()
      Gets the resolvedUrl.

      Fully resolved URL of the image after redirects are followed. Not returned when the image is uploaded.

      Returns:
      the resolvedUrl
    • getImage

      public String getImage()
      Gets the image.

      Relative path of the image file if uploaded directly. Not returned when the image is passed by URL.

      Returns:
      the image
    • getError

      public ErrorInfo getError()
      Gets the error.

      Information about what might have caused a failure, such as an image that is too large. Not returned when there is no error.

      Returns:
      the error
    • getClassifiers

      public List<ClassifierResult> getClassifiers()
      Gets the classifiers.

      The classifiers.

      Returns:
      the classifiers