ImageGear .NET
ImGearRecognition Constructor(String,Boolean)




Path to load the native Recognition libraries and resources from.
Indicates whether the new instance creates its own unique collection of Recognition engine settings, or uses the shared global settings.
Initializes a new instance of the ImGearRecognition class and specifies whether it should create its own unique collection of Recognition settings or use the shared global settings.
Syntax
'Declaration
 
Public Function New( _
   ByVal resourcePath As String, _
   ByVal createUnique As Boolean _
)
'Usage
 
Dim resourcePath As String
Dim createUnique As Boolean
 
Dim instance As New ImGearRecognition(resourcePath, createUnique)
public ImGearRecognition( 
   string resourcePath,
   bool createUnique
)
public: ImGearRecognition( 
   string* resourcePath,
   bool createUnique
)
public:
ImGearRecognition( 
   String^ resourcePath,
   bool createUnique
)

Parameters

resourcePath
Path to load the native Recognition libraries and resources from.
createUnique
Indicates whether the new instance creates its own unique collection of Recognition engine settings, or uses the shared global settings.
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.

If createUnique is true, each instance created by this constructor will create and access its own unique collection of Recognition settings. If false, the new instance will use the global collection of Recognition settings that is shared by all other non-unique instances created in the same process.

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

If you are using Recognition in a web project, this constructor is suited to web applications.

See Also

Reference

ImGearRecognition Class
ImGearRecognition Members
Overload List
ImGearRecognition Class

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback