imaqGetClassifierSampleInfo
Usage
ClassifierSampleInfo* imaqGetClassifierSampleInfo(const ClassifierSession* session, int index, int* numSamples);
Purpose
Get sample information from a classifier session.
Parameters
Name
|
Type
|
Description
|
---|---|---|
session | const ClassifierSession* | The classifier session to use. |
index | int | The index of the sample to get information about. Use a value of –1 to get only the number of samples in the classifier session. |
numSamples | int* | On return, the total number of samples in the classifier session. Set this parameter to NULL if you do not need this information. |
Return Value
Type |
Description |
---|---|
ClassifierSampleInfo* | On success, this function returns information about the specified sample. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with the return value, dispose of the information by calling imaqDispose(). |