client.image
object allows you to process images and extract structured data.
Generate Predictions
Generate Predictions with a custom schema
Let’s say we want to classify images into one of three categories:tv
, document
, or other
. You can define a custom schema as follows, and pass it to the json_schema
parameter: