ImageGear for .NET
ImGearRecognition Constructor(String)
See Also  Send Feedback
ImageGear21.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecognition Class > ImGearRecognition Constructor : ImGearRecognition Constructor(String)




resourcePath
Path to load the native Recognition libraries and resources from.

Glossary Item Box

Initializes a new instance of the ImGearRecognition class and specifies a path to load the native Recognition libraries and resources from.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

resourcePath
Path to load the native Recognition libraries and resources from.

Remarks

The native Recognition engine is initialized during this constructor, unless it has already been initialized by a previously created instance, in which case a reference to the engine is obtained.

resourcePath is used to specify where the native Recognition libraries and resource files are located.

Each instance created by this constructor will access the shared global collection of Recognition settings. This means that changing settings (e.g. ImGearRecOutputManager.Format) in one instance will affect all other instances using the global settings. To isolate the Recognition settings for each instance, use the overloaded constructor, ImGearRecognition Constructor(Boolean). This will force each instance to use its own collection of settings.

An application should use exception handling to catch any exceptions thrown by this constructor.

See Also

©2013. Accusoft Corporation. All Rights Reserved.