enum Abbyy::Profile
Defined in:
abbyy/profile.crEnum Members
-
DocumentConversion =
0
-
Suitable for converting documents into an editable format such as RTF or DOCX. This profile is focused on retaining the original document structure and appearance, including font styles, pictures, background color, etc.
-
DocumentArchiving =
1
-
Suitable for creating a digital archive of searchable documents. This profile is not intended for converting documents into an editable format. It is best optimized for creating searchable PDFs (with the recognized text saved under the image). All possible text is found and recognized on the input image, including text embedded into pictures.
-
TextExtraction =
2
-
Suitable for extracting all text from the input image, including small text areas of low quality. The document appearance and structure are ignored, pictures and tables are not detected.
This profile is not intended for converting documents into an editable format. It is designed for the situations when you need to retrieve the data from the image for some further processing on your side, such as extracting data from bills, receipts or invoices for use in accounting systems. Consider using XML export format, which allows you to access the recognized text coordinates.
-
FieldLevelRecognition =
3
-
BarcodeRecognition =
4
-
Suitable for barcode extraction. Extracts only barcodes (texts, pictures, or tables are not detected). See the list of supported barcode types.
Instance Method Summary
- #barcode_recognition?
- #document_archiving?
- #document_conversion?
- #field_level_recognition?
- #text_extraction?
-
#to_s
Returns a
String
representation of this enum member.
Instance Method Detail
Returns a String
representation of this enum member.
In the case of regular enums, this is just the name of the member.
In the case of flag enums, it's the names joined by vertical bars, or "None",
if the value is zero.
If an enum's value doesn't match a member's value, the raw value is returned as a string.
Color::Red.to_s # => "Red"
IOMode::None.to_s # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"
Color.new(10).to_s # => "10"