imaqDeleteClassifierSample
Usage
int imaqDeleteClassifierSample(ClassifierSession* session, int index);
Purpose
Deletes a sample from a classifier session.
Parameters
Name
|
Type
|
Description
|
---|---|---|
session | ClassifierSession* | The session containing the sample to delete. |
index | int | The index of the sample to delete. Use IMAQ_ALL_SAMPLES to delete all samples from this session. |
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(). |