Skip to content

Model

Model - GetClasses

Returns the number of classes considered by the model.

IN

Name Type Description
InModel DataModel The input Model
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
Outint Int Number of classes.
Error ErrorState Gets the execution error message

Model - GetFeatures

Returns the number of features considered by the model.

IN

Name Type Description
InModel DataModel The input Model
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
Outint Int Number of features.
Error ErrorState Gets the execution error message

Model - IsTrained

Checks if model has been trained.

IN

Name Type Description
InModel DataModel The input Model
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
Outbool Bool true if model was trained, false otherwise.
Error ErrorState Gets the execution error message

Model - IsTrained2

Checks if model has been trained.

IN

Name Type Description
InModel OCR_Model The input Model
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
Outbool Bool true if model was trained, false otherwise.
Error ErrorState Gets the execution error message