ImageGear22.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecognition Class > ImGearRecognition Constructor : ImGearRecognition Constructor() |
'Declaration Public Function New()
'Usage Dim instance As New ImGearRecognition()
public ImGearRecognition()
public: ImGearRecognition();
public: ImGearRecognition();
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.
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.