Class AIUtil
Registers or unregisters images as AI custom classes.
Inherited Members
Namespace: HP.LFT.SDK.AI
Assembly: HP.LFT.SDK.dll
Syntax
public class AIUtil
Constructors
AIUtil()
Declaration
public AIUtil()
Methods
RegisterCustomClass(string, string)
Registers an image as AI custom class.
Declaration
public static void RegisterCustomClass(string className, string imagePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | className | the class name to be registered. |
| string | imagePath | the path of the image to be registered. |
Exceptions
| Type | Condition |
|---|---|
| InvalidClassNameException |
UnregisterAllCustomClasses()
Unregisters all custom classes
Declaration
public static void UnregisterAllCustomClasses()
UnregisterCustomClass(string)
Unregisters an AI custom class.
Declaration
public static void UnregisterCustomClass(string className)
Parameters
| Type | Name | Description |
|---|---|---|
| string | className | the class name to be unregistered. |