Perform image analysis
POST {{baseUrl}}/actions/analyzeImage
Perform different types of image analysis.
Request Body
{"features"=>[{"featureType"=>"OBJECT_DETECTION"}], "image"=>{"source"=>"INLINE", "data"=>""}, "compartmentId"=>"{{compartment_ocid}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"errors":[{"code":"dolore velit","message":"sint fugiat"},{"code":"in magna eiusmod elit","message":"Duis eiusmod pariatur"}],"imageClassificationModelVersion":"ea e","imageObjects":[{"boundingPolygon":{"normalizedVertices":[{"x":0.4867583436237777,"y":0.7058679525787401},{"x":0.9720286527700477,"y":0.33918063980066826}]},"confidence":0.749337411653318,"name":"exercitation aute sed ullamco consequat"},{"boundingPolygon":{"normalizedVertices":[{"x":0.7999849260043699,"y":0.4776987785581912},{"x":0.16741341289556688,"y":0.853915511664658}]},"confidence":0.4936620102275997,"name":"Duis Ut tempor deserunt mollit"}],"imageText":{"lines":[{"boundingPolygon":{"normalizedVertices":[{"x":0.8201332105619852,"y":0.9204218320703978},{"x":0.7546742467929752,"y":0.5569019278482776}]},"confidence":0.7988672808506769,"text":"amet occaecat incididunt","wordIndexes":[-16236245,-91832938]},{"boundingPolygon":{"normalizedVertices":[{"x":0.9546260495430261,"y":0.6607354573232322},{"x":0.921521845785287,"y":0.9407653245156609}]},"confidence":0.6105264171783069,"text":"Ut Duis","wordIndexes":[-77744466,33101344]}],"words":[{"boundingPolygon":{"normalizedVertices":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"confidence":0.07875097244393969,"text":"aliquip consectetur"},{"boundingPolygon":{"normalizedVertices":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"confidence":0.32975579013113276,"text":"dolor labore"}]},"labels":[{"confidence":0.85,"name":"car"},{"confidence":0.85,"name":"car"}],"objectDetectionModelVersion":"enim aute aliqua aliquip eiusmod","ontologyClasses":[{"name":"Cat","parents":["Pet","Mammal"],"synonyms":["Feline"]},{"name":"Cat","parents":["Pet","Mammal"],"synonyms":["Feline"]}],"textDetectionModelVersion":"irure"}