ImageGear .NET - Updated
ImGearRecognition Constructor()




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecognition Class > ImGearRecognition Constructor : ImGearRecognition Constructor()
Initializes a new instance of the ImGearRecognition class.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New ImGearRecognition()
public ImGearRecognition()
public: ImGearRecognition();
public:
ImGearRecognition();
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.

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.

If you are using Recognition in a web project, you cannot use this constructor as it is not suited to web applications. Instead, you need to specify the location of the dependencies in the Recognition constructor, ImGearRecognition Constructor(String).

See Also

Reference

ImGearRecognition Class
ImGearRecognition Members
Overload List
ImGearRecognition Class