简体   繁体   English

Asprise Java OCR SDK XML格式

[英]Asprise Java OCR SDK XML format

Is it possible to get XML scan output that provides information for each word found in the scan? 是否有可能获得XML扫描输出,该输出提供有关扫描中找到的每个单词的信息? For example, the current output shown in the clipping below only one set of values is provided for the entire text run "Asprise OCR and Barcode Recognition". 例如,为整个文本运行“ Asprise OCR和条形码识别”提供了仅在一组值下面的剪辑中显示的当前输出。 The requirement is to get the same details per recognized word. 要求每个识别的单词都具有相同的详细信息。

<?xml version="1.0"?>
<asprise-ocr input="test.png">
<page no="1" width="2400" height="3200" words="122" confidence="88">
<block type="text" x="321" y="254" width="1438" height="76" words="5" confidence="86">
Asprise OCR and Barcode Recognition
</block>
...
<block type="barcode" subtype="QR-Code" x="1397" y="1484" width="441" height="441" confidence="1">www.asprise.com</block>
<block type="barcode" subtype="CODE-128" x="348" y="1489" width="583" height="145" confidence="34">Asprise</block>
</page>
</asprise-ocr>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM