forked from docs/doc-exports
ocr_api_20250818
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com> Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
This commit is contained in:
@ -28,6 +28,11 @@
|
||||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.2 "><p id="ocr_03_0029__p14249595278">Updated the format of the figure in section "Basic Concepts" from GIF to PNG.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="ocr_03_0029__row12869123611310"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.1 "><p id="ocr_03_0029__p108691361334">2025-8-18</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.2 "><p id="ocr_03_0029__p22391436111015">Updated the description of the <strong id="ocr_03_0029__b141279528513">url</strong> parameter in each API by removing support for public HTTP/HTTPS URLs.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@ -97,7 +97,7 @@
|
||||
<td class="cellrowborder" valign="top" width="13.268673132686729%" headers="mcps1.3.4.3.2.5.1.3 "><p id="ocr_03_0031__p113251161618">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="55.0944905509449%" headers="mcps1.3.4.3.2.5.1.4 "><p id="ocr_03_0031__p1932111161619">Set either this parameter or <strong id="ocr_03_0031__b4303087575854">image</strong>. The image file has a size limit of 10 MB. The following image URLs are currently supported:</p>
|
||||
<ul id="ocr_03_0031__ul1832111114162"><li id="ocr_03_0031__li125979581460">Public HTTP/HTTPS URL</li><li id="ocr_03_0031__li193210115162">URL provided by OBS.</li></ul>
|
||||
<ul id="ocr_03_0031__ul1832111114162"><li id="ocr_03_0031__li193210115162">URL provided by OBS.</li></ul>
|
||||
<div class="note" id="ocr_03_0031__note356121013169"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="ocr_03_0031__ul933141171616"><li id="ocr_03_0031__li83381110163">The API response time depends on the image download time. If the image download takes a long time, the API call will fail.</li><li id="ocr_03_0031__li1733211131613">Ensure that the storage service where the images to be detected reside is stable and reliable. OBS is recommended for storing image data.</li><li id="ocr_03_0031__li1331411101616">The URL cannot contain Chinese characters. If Chinese characters exist, they must be encoded using UTF-8.</li></ul>
|
||||
</div></div>
|
||||
</td>
|
||||
|
||||
@ -97,7 +97,7 @@
|
||||
<td class="cellrowborder" valign="top" width="13.268673132686729%" headers="mcps1.3.4.3.2.5.1.3 "><p id="ocr_03_0042__p10862350123414">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="55.0944905509449%" headers="mcps1.3.4.3.2.5.1.4 "><p id="ocr_03_0042__p4862650193416">Set either this parameter or <strong id="ocr_03_0042__b16840541667581">image</strong>. The image file has a size limit of 10 MB. The following image URLs are currently supported:</p>
|
||||
<ul id="ocr_03_0042__ul386211505341"><li id="ocr_03_0042__li28621250153414">Public HTTP/HTTPS URL</li><li id="ocr_03_0042__li1486214507345">URL provided by OBS.</li></ul>
|
||||
<ul id="ocr_03_0042__ul386211505341"><li id="ocr_03_0042__li1486214507345">URL provided by OBS.</li></ul>
|
||||
<div class="note" id="ocr_03_0042__note1594105124215"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="ocr_03_0042__ul9597105418426"><li id="ocr_03_0042__li12597115414213">The API response time depends on the image download time. If the image download takes a long time, the API call will fail.</li><li id="ocr_03_0042__li14597105412421">Ensure that the storage service where the images to be detected reside is stable and reliable. OBS is recommended for storing image data.</li><li id="ocr_03_0042__li659735474218">The URL cannot contain Chinese characters. If Chinese characters exist, they must be encoded using UTF-8.</li></ul>
|
||||
</div></div>
|
||||
</td>
|
||||
|
||||
@ -93,7 +93,7 @@
|
||||
<td class="cellrowborder" valign="top" width="13.270000000000001%" headers="mcps1.3.4.3.2.5.1.3 "><p id="ocr_03_0161__p391528112312">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="55.089999999999996%" headers="mcps1.3.4.3.2.5.1.4 "><p id="ocr_03_0161__p109153815238">Set either this parameter or <strong id="ocr_03_0161__b111775833018">image</strong>. The image file has a size limit of 10 MB. The following image URLs are currently supported:</p>
|
||||
<ul id="ocr_03_0161__ul1832111114162"><li id="ocr_03_0161__li125979581460">Public HTTP/HTTPS URL</li><li id="ocr_03_0161__li193210115162">URL provided by OBS.</li></ul>
|
||||
<ul id="ocr_03_0161__ul1832111114162"><li id="ocr_03_0161__li193210115162">URL provided by OBS.</li></ul>
|
||||
<div class="note" id="ocr_03_0161__note356121013169"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="ocr_03_0161__ul933141171616"><li id="ocr_03_0161__li83381110163">The API response time depends on the image download time. If the image download takes a long time, the API call will fail.</li><li id="ocr_03_0161__li1733211131613">Ensure that the storage service where the images to be detected reside is stable and reliable. OBS is recommended for storing image data.</li><li id="ocr_03_0161__li1331411101616">The URL cannot contain Chinese characters. If Chinese characters exist, they must be encoded using UTF-8.</li></ul>
|
||||
</div></div>
|
||||
</td>
|
||||
@ -115,8 +115,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="13.270000000000001%" headers="mcps1.3.4.3.2.5.1.3 "><p id="ocr_03_0161__p549421218321">String</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="55.0944905509449%" headers="mcps1.3.4.3.2.5.1.4 "><p id="ocr_03_0161__p108641650153414">Language. If this parameter is not specified, German and English will be used by default. The options are:</p>
|
||||
<ul id="ocr_03_0161__ul1986495016344"><li id="ocr_03_0161__li1486410509349"><strong id="ocr_03_0161__b10258144657581">auto</strong>: automatic language classification</li><li id="ocr_03_0161__li10864195023415"><strong id="ocr_03_0161__b7357133317581">ms</strong>: Malay</li><li id="ocr_03_0161__li1286445083417"><strong id="ocr_03_0161__b19988043547581">uk</strong>: Ukrainian</li><li id="ocr_03_0161__li2864205020346"><strong id="ocr_03_0161__b4104808187581">hi</strong>: Hindi</li><li id="ocr_03_0161__li148641350203419"><strong id="ocr_03_0161__b18818987717581">ru</strong>: Russian</li><li id="ocr_03_0161__li7864125013420"><strong id="ocr_03_0161__b16337539167581">vi</strong>: Vietnamese</li><li id="ocr_03_0161__li108641250133419"><strong id="ocr_03_0161__b7680799647581">id</strong>: Indonesian</li><li id="ocr_03_0161__li18641450113420"><strong id="ocr_03_0161__b18527074197581">th</strong>: Thai</li><li id="ocr_03_0161__li2864145014344"><strong id="ocr_03_0161__b18829267547581">zh</strong>: Chinese and English</li><li id="ocr_03_0161__li11864195018344"><strong id="ocr_03_0161__b18922174677581">ar</strong>: Arabic</li><li id="ocr_03_0161__li586415017344"><strong id="ocr_03_0161__b12941179727581">de</strong>: German</li><li id="ocr_03_0161__li886414507341"><strong id="ocr_03_0161__b1937897827581">la</strong>: Latin</li><li id="ocr_03_0161__li58641350143418"><strong id="ocr_03_0161__b18697063487581">fr</strong>: French</li><li id="ocr_03_0161__li16864145010344"><strong id="ocr_03_0161__b21456063727581">it</strong>: Italian</li><li id="ocr_03_0161__li1986425016349"><strong id="ocr_03_0161__b3339480527581">es</strong>: Spanish</li><li id="ocr_03_0161__li2864205018344"><strong id="ocr_03_0161__b548223067581">pt</strong>: Portuguese</li><li id="ocr_03_0161__li88641250123410"><strong id="ocr_03_0161__b6136934517581">ro</strong>: Romanian</li><li id="ocr_03_0161__li78645501346"><strong id="ocr_03_0161__b14503051207581">pl</strong>: Polish</li><li id="ocr_03_0161__li11865750143414"><strong id="ocr_03_0161__b14046501537581">am</strong>: Amharic</li><li id="ocr_03_0161__li286565033419"><strong id="ocr_03_0161__b13251689587581">ja</strong>: Japanese</li><li id="ocr_03_0161__li18865750153412"><strong id="ocr_03_0161__b6962543117581">ko</strong>: Korean</li><li id="ocr_03_0161__li123001028311"><strong id="ocr_03_0161__b10682510267581">tr</strong>: Turkish</li><li id="ocr_03_0161__li5916176524"><strong id="ocr_03_0161__b2840835287581">no</strong>: Norwegian</li><li id="ocr_03_0161__li1651313311411"><strong id="ocr_03_0161__b9167636007581">da</strong>: Danish</li><li id="ocr_03_0161__li51351415312"><strong id="ocr_03_0161__b19162741097581">sv</strong>: Swedish</li><li id="ocr_03_0161__li942724173113"><strong id="ocr_03_0161__b2061653113227">km</strong>: Khmer</li><li id="ocr_03_0161__li8403161716236"><strong id="ocr_03_0161__b12997133482217">he</strong>: Hebrew</li></ul>
|
||||
<td class="cellrowborder" valign="top" width="55.089999999999996%" headers="mcps1.3.4.3.2.5.1.4 "><p id="ocr_03_0161__p649591215327">Chinese and English recognition. The value is <strong id="ocr_03_0161__b126019279166">zh</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="ocr_03_0161__row391428192316"><td class="cellrowborder" valign="top" width="15.310000000000002%" headers="mcps1.3.4.3.2.5.1.1 "><p id="ocr_03_0161__p9915178142310">kv</p>
|
||||
|
||||
Reference in New Issue
Block a user