You are viewing limited content. For full access, please sign in.

Question

Question

XML Import Agent OCR on electronic documents

asked on December 23, 2024

What is the correct attribute to enable OCR on electronic documents using xml's on import agent?

Adding Pages OCR enable didn't worked, is there any work around or correct attribute on Element <LF:electronic_document>

 

0 0

Replies

replied on December 23, 2024

Here is an example for importing pdf file with ocr enabled.

<?xml version="1.0" encoding="utf-8"?>
<LF:importengine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://laserfiche.com/namespaces/importengine ImportEngine.xsd" xmlns:LF="http://laserfiche.com/namespaces/importengine" version="1.0">
  <LF:ocrsettings ocr="true" language="English" decolumnize="true" autoOrient="false" />
  <LF:toc on_document_conflict="unique" on_folder_conflict="unique">
    <LF:document name="weekly update Agenda">
      <LF:electronic_document content_type="application/pdf" extension="pdf">
        <LF:fileref ref="C:\Test\weekly update Agenda.pdf" />
      </LF:electronic_document>
    </LF:document>
  </LF:toc>
</LF:importengine>

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.