v11

latestSwagger 2.0raw.githubusercontent.com2023-03-313540106.5 KB
ImageModeration

Returns any text found in the image for the specified language. If no language is specified in the input, the detection defaults to English.

post/contentmoderator/moderate/v1.0/ProcessImage/OCR

Query parameters

languagestring required

Language of the terms.

CacheImageboolean

Whether to retain the submitted image for future use. If it's omitted, the default is false.

enhancedboolean

When it's set to true, the image goes through additional processing to come with additional candidates.

The image or TIFF file is not supported when enhanced is set to true.

Note: This affects the response time.

Response

Text found and list of candidate text details.

TrackingIdstring

Tracking ID.

CacheIdstring

Cache ID.

Languagestring

ISO 639-3 code.

Textstring

Found text.