Class Image
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.Image
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Image
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Details about an image.
-
Constructor Summary
Constructors Constructor Description Image()
-
Method Summary
Modifier and Type Method Description ImageDimensions
getDimensions()
Gets the dimensions.List<Error>
getErrors()
Gets the errors.DetectedObjects
getObjects()
Gets the objects.ImageSource
getSource()
Gets the source.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
getSource
Gets the source.The source type of the image.
- Returns:
- the source
-
getDimensions
Gets the dimensions.Height and width of an image.
- Returns:
- the dimensions
-
getObjects
Gets the objects.Container for the list of collections that have objects detected in an image.
- Returns:
- the objects
-
getErrors
Gets the errors.A container for the problems in the request.
- Returns:
- the errors
-