Skip to content

Commit d8c4677

Browse files
authored
Update use-rest-api-programmatically.md
1 parent 9f1033b commit d8c4677

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

articles/ai-services/translator/document-translation/how-to-guides/use-rest-api-programmatically.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -210,30 +210,6 @@ The following headers are included with each Document Translation API request:
210210
}
211211
```
212212

213-
### 🆕 Translate text embedded in images within documents
214-
215-
> [!Note]
216-
>
217-
> * This feature is optional and must be enabled for each translation request.
218-
> * Enabling this feature will incur additional costs based on usage. For more information, *see* [Azure AI Vision pricing](https://azure.microsoft.com/pricing/details/cognitive-services/computer-vision/)
219-
> * This feature is currently available only with the Batch Document Translation API.
220-
> * The Supported file format is `.docx` only.
221-
> * An Azure AI Services resource (not the standalone Translator resource) is required to use this feature.
222-
223-
### Request configuration
224-
225-
* Use the optional `translateTextWithinImage` parameter in the `options` field
226-
227-
* Data type: Boolean (`true` or `false`)
228-
* Default Boolean setting is `false`. Set the option to `true` to enable image text translation.
229-
230-
* **Response Details**. When the feature is enabled, added image processing information is included with the response:
231-
232-
* **`totalImageScansSucceeded`**. The number of successfully translated image scans.
233-
234-
* **`totalImageScansFailed`**. The number of image scans that failed processing.
235-
236-
237213
## Use code to submit Document Translation requests
238214

239215
### Set up your coding Platform

0 commit comments

Comments
 (0)