Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, December 4, 2017 3:32:01 PM(UTC)
Nick Villalobos

Groups: Registered
Posts: 119

Was thanked: 4 time(s) in 4 post(s)

Some of the OCR engines supported by LEADTOOLS (for example, the OcrEngineType.Professional) support saving the recognition results using the engine native save mechanism instead of the LEADTOOLS Document Writers. You can use the native formats and the EngineFormat property to set the format to use when saving the results.

Below you will see the list of native formats of the the OCR Professional engine. You can retrieve these formats by using the GetSupportedEngineFormats method.

Code:

Console.WriteLine($"Supported engine formats with the {ocrEngine.GetType()}:\n");
IOcrDocumentManager ocrDocumentManager = ocrEngine.DocumentManager;
string[] engineFormats = ocrDocumentManager.GetSupportedEngineFormats();
foreach (string engineFormat in engineFormats)
{

    string friendlyName = ocrDocumentManager.GetEngineFormatFriendlyName(engineFormat);
    Console.WriteLine($"\nFormat name:   {engineFormat}\nFriendly engine format name:   {friendlyName}\n");
 }


Supported Engine Formats

Edited by moderator Wednesday, December 27, 2023 3:15:36 PM(UTC)  | Reason: updated

Nick Villalobos
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.032 seconds.