imaqWriteClassifierFile
Usage
int imaqWriteClassifierFile(const ClassifierSession* session, const char* fileName, WriteClassifierFileMode mode, const String255 description);
Purpose
Writes a classifier session to file.
Parameters
Name
|
Type
|
Description
|
---|---|---|
session | const ClassifierSession* | The classifier session to write to file. |
fileName | const char* | The name of the file to write. This parameter is required and cannot be NULL. |
mode | WriteClassifierFileMode | The mode to use when writing the classification session to file. |
description | const String255 | A description of the classification session. Set this parameter to NULL if you do not need a description for this file. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |