ClassifiedImage
public struct ClassifiedImage : Codable, Equatable
Results for one image.
-
Source of the image before any redirects. Not returned when the image is uploaded.
Declaration
Swift
public var sourceURL: String?
-
Fully resolved URL of the image after redirects are followed. Not returned when the image is uploaded.
Declaration
Swift
public var resolvedURL: String?
-
Relative path of the image file if uploaded directly. Not returned when the image is passed by URL.
Declaration
Swift
public var image: String?
-
Information about what might have caused a failure, such as an image that is too large. Not returned when there is no error.
Declaration
Swift
public var error: ErrorInfo?
-
The classifiers.
Declaration
Swift
public var classifiers: [ClassifierResult]