Describe the similarity between an image and a list of categories.
REQUIRED | KEY | TYPE | DESCRIPTION |
---|---|---|---|
Yes | deploymentToken | str | Authentication token to access created deployments. This token is only authorized to predict on deployments in the current project, and can be safely embedded in an application or website. |
Yes | deploymentId | str | Unique identifier of a deployment created under the project. |
Yes | image | bytes | Image to describe. |
Yes | categories | list | List of candidate categories to compare with the image. |
No | topN | int | Return the N most similar categories. |
KEY | TYPE | DESCRIPTION |
---|---|---|
success | Boolean | true if the call succeeded, false if there was an error |
Prediction |
TYPE | WHEN |
---|---|
DataNotFoundError |
|
Coming Soon!