Tesseract OCR
<h1>功能</h1>
<p>使用Tesseract OCR引擎从指定的用户界面元素中提取一个字符串及其信息。(可与OCR文本、悬停OCR文本、双击OCR文本、获取OCR文本、查找OCR文本位置)一起使用。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>图像</td>
<td>要处理的图像。(该字段仅支持图像变量)</td>
<td>图像</td>
</tr>
</tbody>
</table>
<h1>输出</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>文本</td>
<td>提取的字符串(仅支持字符串变量)</td>
<td>文本</td>
</tr>
<tr>
<td>结果</td>
<td>提取的词及其在屏幕上的位置(仅支持枚举值<键值对矩形,字符串>变量)</td>
</tr>
</tbody>
</table>
<h1>选项</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>允许的字符</td>
<td>OCR引擎根据这里指定的字符串提取给定字符串</td>
</tr>
<tr>
<td>已拒绝的字符</td>
<td>OCR引擎在不考虑这里指定的字符情况下提取给定字符串</td>
</tr>
<tr>
<td>提取词</td>
<td>如果选中此复选框,则会提取每个检测到的值在屏幕上的位置</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>无</p>
<h1>相关函数</h1>
<p>加载图像</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c29849cfd8f38d7d2752a024dc51807c" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/10dfa154b90f00a4b9d08c64bd2f9e9f" title="[组件[TesseractOCR]_20210506.db">组件[TesseractOCR]_20210506.db</a></p>