RecAPI
|
This page lists all C samples of RecAPI. Some of these samples are supported on: Windows, see the description of each sample for this information.
Engine specific parameters.
Inquiry on Version and Serial numbers.
Inquiry on resident status of recognition modules.
Engine Timeout.
Modules of the Engine.
Termination of the Engine.
Inquiry on attributes of the image.
Convert the image to B/W with Resolution Enhancement option.
Saving the image in PNG format.
Getting textual and supplementary error information.
Loading a B/W image from a one-page image file.
Forcing image inversion, automatic image rotation and deskewing.
Saving the pre-processed image.
Loading a noisy B/W image from a one-page image file.
Step 1: Despeckling the image.
Step 2: Rotating the image.
Step 3: Inverting the image.
Step 4: Deskewing the image.
Saving the pre-processed image.
Loading a B/W image from a one-page image file.
Saving a portion of the image using a different image file format.
Loading B/W images from one-page image files.
Saving the images into a single multi-page image file.
Inquiring the number of pages in a multi-page image file.
Loading B/W images from one-page image files.
Exporting an image portion for displaying purposes.
Loading a B/W image from a one-page image file.
Enumeration of available code pages and output formats.
Specifying code page, output format and rejection symbol.
Converting a character code to its Unicode value.
Recognition and conversion to the output file specified.
Loading a B/W image from a one-page image file.
Specifying the Language environment (language selection and LanguagesPlus characters)
Recognition.
Conversion to Microsoft Word, retaining formatting information.
Loading a B/W image from a one-page image file.
Specifying the Language environment as the English characters.
Applying filters and the FilterPlus characters.
Saving all settings to a settings file for future use.
Recognition and conversion to the final output document.
Quick-recognizing a B/W one-page image file.
Inquiry and display of recognition statistics.
Loading an unfilled, master form. Analyzing its layout and saving it as embedded form-template.
Loading a filled-in form of the same type and applying the saved form template on it.
Recognizing the filled-in form and accessing the recognition results through memory.
Saving the recognition result to an ASCII text file.
Recognizing B/W pages from several one-page image files.
Setting output format and code page. Wordprocessor output (Microsoft Word).
Recognizing all pages from a B/W multi-page image file.
Setting output format and code page.
Loading a gray image file with automatic adaptive thresholding.
Recognition.
Loading a grayscale image file with a specified threshold value.
Recognition.
Supported on: Windows.
Initializing and terminating the scanning module.
Inquiry on scanner characteristics.
Supported on: Windows.
Scanning a page in B/W, specifying some scanner parameters (resolution, brightness).
Saving the scanned image.
Supported on: Windows.
Scanning a page in B/W with default scanner settings.
Recognizing the scanned image.
Supported on: Windows.
Inquiring and specifying different scanner parameters (resolution, grayscale level, brightness,
contrast, dropout color, scanning area). Scanning the gray image. Saving the image in gray.
Supported on: Windows.
Getting B/W pages from the scanner's ADF one after another with default scanner settings.
Handling missing or empty ADF situations.
Saving the pages into a multiple-page image file.
Defining a portion of a B/W image.
Line-by-line transfer of a rectangular part of the image to the application through memory.
Loading a B/W image, auto-zoning.
Saving the zones to a zone file, loading another zone file, then recognizing the image.
Loading a B/W image, auto-zoning.
Retrieving and displaying zone properties.
Loading a B/W image, auto-zoning.
Inserting a new zone, updating (modifying) an existing one and deleting a zone.
Setting the parameters of the checker to recognize and check English text.
Quick-recognizing a B/W image from a one-page image file and saving it.
Setting the parameters of the checker to recognize and check German text.
Specifying recognition trade-off.
Quick-recognizing a B/W image from a one-page image file.
Listing modules of the Engine, selectable languages,
code pages, installed language dictionaries, available output formats.
Recognizing an image into the memory.
Accessing low level recognition information (LETTER structures), manipulating it.
Custom converting the text into a file.
Supported on: Windows.
Defining a page-sized zone for handwritten numeral recognition.
Defining a local filter to validate digits only, excluding the plus and minus signs, the comma and the period.
Recognizing handwritten numbers from a B/W image.
Supported on: Windows.
Loading a B/W image containing handwritten English text.
Creating a page-sized zone for handwritten text recognition.
Defining a local filter to validate uppercase letters and digits only.
Recognizing and saving the result.
Creating a new user dictionary.
Adding items to the user dictionary.
Converting character codes to UNICODE.
Recognition using the user dictionary only.
Supported on: Windows.
Asking whether the scanner supports grayscale.
Scanning in gray.
During the loading process the image will be automatically converted to B/W.
Saving the loaded image.
Loading an image. Loading a Zone file.
Recognizing optical marks (checkboxes) using Letter structure output (memory).
Displaying the result.
Getting information about the current setting of the barcode recognition module.
Specifying requested barcode type(s).
Loading an image. Loading a Zone file.
Recognizing the barcode. Displaying the result and the type of the barcode.
Supported on: Windows.
Scanning a page in color with default parameters.
Specifying scanning area.
Transforming the original image to other image types and resolutions.
Saving the transformed images.
Supported on: Windows.
Recognizing an image into the memory.
Suspect levels: influencing the indication of uncertain character marking.
Accessing and manipulating the low level recognition information in memory.
Updating the recognition data.
Converting into the final output document.
Supported on: Windows.
Loading a B/W image from a one-page image file.
Specifying the MICR-specific characters.
Recognition.
Conversion to UNICODE plain text file.
Loading a 3D-distorted image file. Creating a 3D deskewed copy using the ImageFile object.
Loading the corrected image through memory. Performing recognition.
Exporting the results in plain text format.
Creating two Settings Collections for English and German recognition.
Loading an English and a German image.
Recognition.
Writing letters to text files.
Initializing by RecApiPlus engine.
Getting all the output format strings.
Creating a new document object.
Loading and recognizing a new page.
Adding this new page to this document.
Saving the document.
Supported on: Windows.
Creating a new document object.
Loading and recognizing a new page.
Adding this new page to this document.
Updating the document with a new image.
Reloading the document.
Deleting a page from the document.
Calculating number of pages before and after the delete.
Creating a new document object.
Loading a new page.
Preprocessing this page and recognizing it in fast mode.
Adding this page to the document.
Setting the output format.
Converting the document.
(This does the same as Sample46, but in another way.)
Creating a new document object.
Loading a new page.
Preprocessing this page and recognizing it in fast mode.
Adding this page to the document.
Setting the output format.
Converting the document.
Supported on: Windows.
Create an empty document object.
Execute Sample41.xwf
workflow:
Create an empty document. Load an image containing a table.
Perform decomposition, look for tables only.
Perform recognition, access OCR Zone table information.
Loading the image (TIF, not compressed).
Specifying the Language environment.
Recognition.
Conversion to RTF (flowing page) format.
Creating a new document.
Loading a new page.
Preprocessing this page and recognizing it.
Adding this page to the document.
Setting the output format.
Converting the document.
Loading a 3D distorted digital camera image.
Setting 3D deskew mode. Performing preprocess.
Saving the corrected image. Performing recognition.
Exporting the results in plain text format.
Loading and recognizing a simple page.
Searching for a string, then redacting it.
Searching for another string and marking for redaction.
Redacting the marked words in one operation.
Exporting to RTF format.
Supported on: Windows.
Loading and recognizing an XPS file.
Saving to XPS image-only format.
Recognizing and exporting to XPS and DocX format.
Supported on: Windows.
Processing 4 filled forms and saving output in CSV file.
Template file FormTemplate.PDF is used.
Getting information about the current setting of the Bar code recognition modules.
Setting the default recognition module.
Specifying requested barcode type.
Setting output format.
Loading an image. Loading a Zone file.
Recognizing the barcode.
Displaying the result, the type and the location of the barcode.
Recognizing all pages from a multi-page image file.
Saving output to a single text file.
Initializing the PDF manager API - RecPDF.
Loading a PDF file, and getting the number of its pages.
Create a 2-page file, then delete the first page by RecPDF.
Enumerating the PDF files previously added to an operation.
Getting the operation to where the PDF files are assigned.
Appending pages to a PDF file from multiple sources.
Adding a page loaded by KernelAPI to a PDF file opened by RecPDF.
Merging text into a recently added image-only page in the PDF file.
Load PDF file and recognize it.
Load PDF file with RecPDF and merge recognized text to it.
Execute operation.
Load Form Template Library, created by FormTemplateEditor.
Load Load and Apply Template on two input files.
Extract Form field text.
Supported on: Windows.
Load a page from an image only PDF file.
Preprocess and recognize this page.
Write back the result to the PDF making it searchable.
Load a JPEG stream.
Preprocess and recognize the page.
Create a PDF from the original JPEG stream and the recognized text.
Load a page and save it at different compression levels. Create PDF, JPG and JP2 outputs.
Load a annotated PDF page.
Save the image to a TIFF file.