ImageModerationOCRMethodOptionalParams interface
選擇性參數。
- Extends
屬性
| cache |
是否保留提交的影像以供日後使用;如果省略,則預設為 false。 |
| enhanced | 當設定為 True 時,影像會經歷其他處理以隨附其他候選專案。 當增強設定為 true 時,不支援 image/tiff 注意:這會影響回應時間。 默認值:false。 |
繼承的屬性
| abort |
可用來中止要求的訊號。 |
| custom |
使用者定義自定義要求標頭,將在傳送要求之前套用。 |
| on |
下載進度引發的回呼。 |
| on |
上傳進度時引發的回呼。 |
| timeout | 要求在自動終止之前可能需要的毫秒數。 |
屬性詳細資料
cacheImage
是否保留提交的影像以供日後使用;如果省略,則預設為 false。
cacheImage?: boolean
屬性值
boolean
enhanced
當設定為 True 時,影像會經歷其他處理以隨附其他候選專案。
當增強設定為 true 時,不支援 image/tiff
注意:這會影響回應時間。 默認值:false。
enhanced?: boolean
屬性值
boolean
繼承的屬性詳細資料
abortSignal
可用來中止要求的訊號。
abortSignal?: AbortSignalLike
屬性值
繼承自 msRest.RequestOptionsBase.abortSignal
customHeaders
使用者定義自定義要求標頭,將在傳送要求之前套用。
customHeaders?: {[key: string]: string}
屬性值
{[key: string]: string}
繼承自 msRest.RequestOptionsBase.customHeaders
onDownloadProgress
下載進度引發的回呼。
onDownloadProgress?: (progress: TransferProgressEvent) => void
屬性值
(progress: TransferProgressEvent) => void
繼承自 msRest.RequestOptionsBase.onDownloadProgress
onUploadProgress
上傳進度時引發的回呼。
onUploadProgress?: (progress: TransferProgressEvent) => void
屬性值
(progress: TransferProgressEvent) => void
繼承自 msRest.RequestOptionsBase.onUploadProgress
timeout
要求在自動終止之前可能需要的毫秒數。
timeout?: number
屬性值
number
繼承自 msRest.RequestOptionsBase.timeout