Class OcrInfoC

java.lang.Object
de.elo.ix.client.OcrInfoC
All Implemented Interfaces:
Serializable

public class OcrInfoC extends Object implements Serializable
Constants for OCR processing.
Since:
8.00.020.001
See Also:
  • Field Details

    • PDF

      public static final int PDF
      PDF output. OCR will convert the output in a PDF format.
      Since:
      9.00.030.025
      See Also:
    • TEXT

      public static final int TEXT
      Text output. The OCR result is a UTF-16LE character stream.
      See Also:
    • XML

      public static final int XML
      XML output. The OCR result is a xml style layout.
      Since:
      9.00.030.025
      See Also:
    • CHAR_AND_RECT

      public static final int CHAR_AND_RECT
      Compute character positions. The OCR result is a binary stream of subsequent records of this layout.
      Character record
      UTF-16 Character 2 Bytes
      Horizontal position of upper left corner 4 Bytes (Integer)
      Vertical position of upper left corner 4 Bytes (Integer)
      Horizontal position of bottom right corner 4 Bytes (Integer)
      Vertical position of bottom right corner 4 Bytes (Integer)
      Confidence in percent 4 Bytes (Integer)
      Original UTF-16 Character 2 Bytes

      The character and integer byte order is Little Endian.

      If the recognition confidence is lower than OcrInfoRecognizeFile.minCharConfidence, the UTF-16 character is equal to OcrInfoRecognizeFile.replaceChar.

      The rectangle coordinates are measured in points. The vertical axis points to the bottom in positive direction.

      See Also:
    • CHAR_AND_RECT_EX

      public static final int CHAR_AND_RECT_EX
      Compute character positions. The OCR result is a binary stream as defined in CHAR_AND_RECT prefixed by a header of this layout:
      Header
      Magic 4 Bytes (Integer)
      Version 4 Bytes (Integer)
      Skew Angle 8 Bytes (Double)
      Width 4 Bytes (Integer)
      Height 4 Bytes (Integer)
      The value of Magic is 0x52434F45. The value of Version is 1. The Integer and Double byte order is Little Endian. The Double value format is IEEE 754.
      See Also:
    • CHAR_AND_RECT_XML

      public static final int CHAR_AND_RECT_XML
      Compute character positions and return XML format.
      Since:
      10.17.059.004
      See Also:
    • MESSAGES_LANGUAGE_ENGLISH

      public static final int MESSAGES_LANGUAGE_ENGLISH
      See Also:
    • MESSAGES_LANGUAGE_RUSSIAN

      public static final int MESSAGES_LANGUAGE_RUSSIAN
      See Also:
    • MESSAGES_LANGUAGE_GERMAN

      public static final int MESSAGES_LANGUAGE_GERMAN
      See Also:
    • MESSAGES_LANGUAGE_FRENCH

      public static final int MESSAGES_LANGUAGE_FRENCH
      See Also:
    • MESSAGES_LANGUAGE_UKRAINIAN

      public static final int MESSAGES_LANGUAGE_UKRAINIAN
      See Also:
    • MESSAGES_LANGUAGE_SPANISH

      public static final int MESSAGES_LANGUAGE_SPANISH
      See Also:
    • MESSAGES_LANGUAGE_ITALIAN

      public static final int MESSAGES_LANGUAGE_ITALIAN
      See Also:
    • MESSAGES_LANGUAGE_DUTCHSTANDARD

      public static final int MESSAGES_LANGUAGE_DUTCHSTANDARD
      See Also:
    • MESSAGES_LANGUAGE_PORTUGUESE

      public static final int MESSAGES_LANGUAGE_PORTUGUESE
      See Also:
    • MESSAGES_LANGUAGE_SLOVAK

      public static final int MESSAGES_LANGUAGE_SLOVAK
      See Also:
    • MESSAGES_LANGUAGE_POLISH

      public static final int MESSAGES_LANGUAGE_POLISH
      See Also:
    • MESSAGES_LANGUAGE_CZECH

      public static final int MESSAGES_LANGUAGE_CZECH
      See Also:
    • MESSAGES_LANGUAGE_HUNGARIAN

      public static final int MESSAGES_LANGUAGE_HUNGARIAN
      See Also:
    • MESSAGES_LANGUAGE_LITHUANIAN

      public static final int MESSAGES_LANGUAGE_LITHUANIAN
      See Also:
    • MESSAGES_LANGUAGE_LATVIAN

      public static final int MESSAGES_LANGUAGE_LATVIAN
      See Also:
    • MESSAGES_LANGUAGE_ESTONIAN

      public static final int MESSAGES_LANGUAGE_ESTONIAN
      See Also:
    • MESSAGES_LANGUAGE_BULGARIAN

      public static final int MESSAGES_LANGUAGE_BULGARIAN
      See Also:
    • UNIT_POINT

      public static final int UNIT_POINT
      See Also:
    • UNIT_MILLIMETER

      public static final int UNIT_MILLIMETER
      See Also:
    • UNIT_INCH

      public static final int UNIT_INCH
      See Also:
    • UNIT_PER_THOUSAND

      public static final int UNIT_PER_THOUSAND
      See Also:
    • SPACES_NORMAL

      public static final int SPACES_NORMAL
      Used in SingleCoulmnMode. All words are separated by one blank.
      Since:
      10.17.069.001
      See Also:
    • SPACES_TWOSPACES

      public static final int SPACES_TWOSPACES
      Used in SingleCoulmnMode. If the words are separated by a larger distance, a second blank is inserted.
      Since:
      10.17.069.001
      See Also:
    • SPACES_EXACT

      public static final int SPACES_EXACT
      Used in SingleCoulmnMode. The OCR tries to insert the correct number of blanks.
      Since:
      10.17.069.001
      See Also:
    • ALL_PAGES

      public static final int ALL_PAGES
      OCR will process all pages of the given document.
      Since:
      9.00.030.026
      See Also:
    • EVEN_PAGES

      public static final int EVEN_PAGES
      Internal Use only. OCR will process all even pages of the given document.
      Since:
      9.00.030.026
      See Also:
    • ODD_PAGES

      public static final int ODD_PAGES
      Internal Use only. OCR will process all odd pages of the given document.
      Since:
      9.00.030.026
      See Also:
    • ENCODING_UTF8

      public static final int ENCODING_UTF8
      Since:
      10.17.080.003
      See Also:
    • ENCODING_UTF16

      public static final int ENCODING_UTF16
      Since:
      10.17.080.003
      See Also:
    • ENCODING_UTF16LE

      public static final int ENCODING_UTF16LE
      Since:
      10.17.080.003
      See Also:
    • PDF_QUALITY_MAXQUALITY

      public static final int PDF_QUALITY_MAXQUALITY
      Optimize the PDF (PDF/A) export in order to receive the best quality of the resulting file.
      Since:
      11.00.000.057
      See Also:
    • PDF_QUALITY_BALANCED

      public static final int PDF_QUALITY_BALANCED
      The PDF (PDF/A) export will be balanced between the quality of the resulting file, its size and the time of processing.
      Since:
      11.00.000.057
      See Also:
    • PDF_QUALITY_MINSIZE

      public static final int PDF_QUALITY_MINSIZE
      Optimize the PDF (PDF/A) export in order to receive the minimum size of the resulting file.
      Since:
      11.00.000.057
      See Also:
    • PDF_QUALITY_MAXSPEED

      public static final int PDF_QUALITY_MAXSPEED
      Optimize the PDF (PDF/A) export in order to receive the highest speed of processing.
      Since:
      11.00.000.057
      See Also:
    • PDF_COMPLIANCE_PDFA_3U

      public static final int PDF_COMPLIANCE_PDFA_3U
      The recognized text should be exported to PDF/A-3u format.
      Since:
      11.00.000.057
      See Also:
    • PDF_COMPLIANCE_PDFA_3A

      public static final int PDF_COMPLIANCE_PDFA_3A
      The recognized text should be exported to PDF/A-3a format.
      Since:
      11.00.000.057
      See Also:
    • PDF_COMPLIANCE_PDFA_2U

      public static final int PDF_COMPLIANCE_PDFA_2U
      The recognized text should be exported to PDF/A-2u format.
      Since:
      11.00.000.057
      See Also:
    • PDF_COMPLIANCE_PDFA_2A

      public static final int PDF_COMPLIANCE_PDFA_2A
      The recognized text should be exported to PDF/A-2a format.
      Since:
      11.00.000.057
      See Also:
    • PDF_COMPLIANCE_PDFA_1B

      public static final int PDF_COMPLIANCE_PDFA_1B
      The recognized text should be exported to PDF/A-1b format.
      Since:
      11.00.000.057
      See Also:
    • PDF_COMPLIANCE_PDFA_1A

      public static final int PDF_COMPLIANCE_PDFA_1A
      The recognized text should be exported to PDF/A-1a format.
      Since:
      11.00.000.057
      See Also:
    • PDF_COMPLIANCE_NONE

      public static final int PDF_COMPLIANCE_NONE
      Compliance with PDF/A standard is not necessary.
      Since:
      11.00.000.057
      See Also:
    • WHITESPACE_DEFAULT

      public static final int WHITESPACE_DEFAULT
      Let the OCR Whitespace characters as they are.
      Since:
      12.00.000.041
      See Also:
    • WHITESPACE_REPLACE

      public static final int WHITESPACE_REPLACE
      OCR Whitespace characters will be replaced: Line break and Paragraph break -> '\n' Tabulation -> '\t' Object replacement character -> ' ' Soft hyphen -> '-'
      Since:
      12.00.000.041
      See Also:
  • Constructor Details

    • OcrInfoC

      public OcrInfoC()
  • Method Details

    • setALL_PAGES

      public void setALL_PAGES(int aLL_PAGES)
    • setEVEN_PAGES

      public void setEVEN_PAGES(int eVEN_PAGES)
    • setODD_PAGES

      public void setODD_PAGES(int oDD_PAGES)
    • getALL_PAGES

      public int getALL_PAGES()
    • getEVEN_PAGES

      public int getEVEN_PAGES()
    • getODD_PAGES

      public int getODD_PAGES()
    • getTEXT

      public int getTEXT()
    • setTEXT

      public void setTEXT(int tEXT)
    • getCHAR_AND_RECT

      public int getCHAR_AND_RECT()
    • setCHAR_AND_RECT

      public void setCHAR_AND_RECT(int cHAR_AND_RECT)
    • setPDF

      public void setPDF(int pDF)
    • getPDF

      public int getPDF()
    • setXML

      public void setXML(int xML)
    • getXML

      public int getXML()
    • getMESSAGES_LANGUAGE_ENGLISH

      public int getMESSAGES_LANGUAGE_ENGLISH()
    • setMESSAGES_LANGUAGE_ENGLISH

      public void setMESSAGES_LANGUAGE_ENGLISH(int mESSAGES_LANGUAGE_ENGLISH)
    • getMESSAGES_LANGUAGE_RUSSIAN

      public int getMESSAGES_LANGUAGE_RUSSIAN()
    • setMESSAGES_LANGUAGE_RUSSIAN

      public void setMESSAGES_LANGUAGE_RUSSIAN(int mESSAGES_LANGUAGE_RUSSIAN)
    • getMESSAGES_LANGUAGE_GERMAN

      public int getMESSAGES_LANGUAGE_GERMAN()
    • setMESSAGES_LANGUAGE_GERMAN

      public void setMESSAGES_LANGUAGE_GERMAN(int mESSAGES_LANGUAGE_GERMAN)
    • getMESSAGES_LANGUAGE_FRENCH

      public int getMESSAGES_LANGUAGE_FRENCH()
    • setMESSAGES_LANGUAGE_FRENCH

      public void setMESSAGES_LANGUAGE_FRENCH(int mESSAGES_LANGUAGE_FRENCH)
    • getMESSAGES_LANGUAGE_UKRAINIAN

      public int getMESSAGES_LANGUAGE_UKRAINIAN()
    • setMESSAGES_LANGUAGE_UKRAINIAN

      public void setMESSAGES_LANGUAGE_UKRAINIAN(int mESSAGES_LANGUAGE_UKRAINIAN)
    • getMESSAGES_LANGUAGE_SPANISH

      public int getMESSAGES_LANGUAGE_SPANISH()
    • setMESSAGES_LANGUAGE_SPANISH

      public void setMESSAGES_LANGUAGE_SPANISH(int mESSAGES_LANGUAGE_SPANISH)
    • getMESSAGES_LANGUAGE_ITALIAN

      public int getMESSAGES_LANGUAGE_ITALIAN()
    • setMESSAGES_LANGUAGE_ITALIAN

      public void setMESSAGES_LANGUAGE_ITALIAN(int mESSAGES_LANGUAGE_ITALIAN)
    • getMESSAGES_LANGUAGE_DUTCHSTANDARD

      public int getMESSAGES_LANGUAGE_DUTCHSTANDARD()
    • setMESSAGES_LANGUAGE_DUTCHSTANDARD

      public void setMESSAGES_LANGUAGE_DUTCHSTANDARD(int mESSAGES_LANGUAGE_DUTCHSTANDARD)
    • getMESSAGES_LANGUAGE_PORTUGUESE

      public int getMESSAGES_LANGUAGE_PORTUGUESE()
    • setMESSAGES_LANGUAGE_PORTUGUESE

      public void setMESSAGES_LANGUAGE_PORTUGUESE(int mESSAGES_LANGUAGE_PORTUGUESE)
    • getMESSAGES_LANGUAGE_SLOVAK

      public int getMESSAGES_LANGUAGE_SLOVAK()
    • setMESSAGES_LANGUAGE_SLOVAK

      public void setMESSAGES_LANGUAGE_SLOVAK(int mESSAGES_LANGUAGE_SLOVAK)
    • getMESSAGES_LANGUAGE_POLISH

      public int getMESSAGES_LANGUAGE_POLISH()
    • setMESSAGES_LANGUAGE_POLISH

      public void setMESSAGES_LANGUAGE_POLISH(int mESSAGES_LANGUAGE_POLISH)
    • getMESSAGES_LANGUAGE_CZECH

      public int getMESSAGES_LANGUAGE_CZECH()
    • setMESSAGES_LANGUAGE_CZECH

      public void setMESSAGES_LANGUAGE_CZECH(int mESSAGES_LANGUAGE_CZECH)
    • getMESSAGES_LANGUAGE_HUNGARIAN

      public int getMESSAGES_LANGUAGE_HUNGARIAN()
    • setMESSAGES_LANGUAGE_HUNGARIAN

      public void setMESSAGES_LANGUAGE_HUNGARIAN(int mESSAGES_LANGUAGE_HUNGARIAN)
    • getMESSAGES_LANGUAGE_LITHUANIAN

      public int getMESSAGES_LANGUAGE_LITHUANIAN()
    • setMESSAGES_LANGUAGE_LITHUANIAN

      public void setMESSAGES_LANGUAGE_LITHUANIAN(int mESSAGES_LANGUAGE_LITHUANIAN)
    • getMESSAGES_LANGUAGE_LATVIAN

      public int getMESSAGES_LANGUAGE_LATVIAN()
    • setMESSAGES_LANGUAGE_LATVIAN

      public void setMESSAGES_LANGUAGE_LATVIAN(int mESSAGES_LANGUAGE_LATVIAN)
    • getMESSAGES_LANGUAGE_ESTONIAN

      public int getMESSAGES_LANGUAGE_ESTONIAN()
    • setMESSAGES_LANGUAGE_ESTONIAN

      public void setMESSAGES_LANGUAGE_ESTONIAN(int mESSAGES_LANGUAGE_ESTONIAN)
    • getMESSAGES_LANGUAGE_BULGARIAN

      public int getMESSAGES_LANGUAGE_BULGARIAN()
    • setMESSAGES_LANGUAGE_BULGARIAN

      public void setMESSAGES_LANGUAGE_BULGARIAN(int mESSAGES_LANGUAGE_BULGARIAN)
    • getUNIT_POINT

      public int getUNIT_POINT()
    • setUNIT_POINT

      public void setUNIT_POINT(int uNIT_POINT)
    • getUNIT_MILLIMETER

      public int getUNIT_MILLIMETER()
    • setUNIT_MILLIMETER

      public void setUNIT_MILLIMETER(int uNIT_MILLIMETER)
    • getUNIT_INCH

      public int getUNIT_INCH()
    • setUNIT_INCH

      public void setUNIT_INCH(int uNIT_INCH)
    • getUNIT_PER_THOUSAND

      public int getUNIT_PER_THOUSAND()
    • setUNIT_PER_THOUSAND

      public void setUNIT_PER_THOUSAND(int uNIT_PER_THOUSAND)