to top
Datalogic APIs
public final enum

SnapOcrTextBlockFormat

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.decode.configuration.SnapOcrTextBlockFormat

Class Overview

The SnapOcrTextBlockFormat is an enumeration defining how an OCR text block is defined. Depending on the definition of the text block, regular expressions apply to any of the blocks separately and the final selection by UI is able to select based on the text blocks defined. The type is one of:

PARAGRAPH Every text block represents a paragraph detected in the text.
LINE Every text block represents a line detected in the text.
WORD Every text block represents a word detected in the text.

Summary

Enum Values
SnapOcrTextBlockFormat  LINE  Every text block represents a line detected in the text. 
SnapOcrTextBlockFormat  PARAGRAPH  Every text block represents a paragraph detected in the text. 
SnapOcrTextBlockFormat  WORD  Every text block represents a word detected in the text. 
Public Methods
static SnapOcrTextBlockFormat valueOf(String name)
final static SnapOcrTextBlockFormat[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SnapOcrTextBlockFormat LINE

Added in revision 51

Every text block represents a line detected in the text.

public static final SnapOcrTextBlockFormat PARAGRAPH

Added in revision 51

Every text block represents a paragraph detected in the text.

public static final SnapOcrTextBlockFormat WORD

Added in revision 51

Every text block represents a word detected in the text.

Public Methods

public static SnapOcrTextBlockFormat valueOf (String name)

Added in revision 51

public static final SnapOcrTextBlockFormat[] values ()

Added in revision 51