|
static int | ailiaCreateClassifier (ref IntPtr classifier, IntPtr net, UInt32 format, UInt32 channel, UInt32 range) |
| Create an identification object. More...
|
|
static void | ailiaDestroyClassifier (IntPtr classifier) |
| Destroy the identification object. More...
|
|
static int | ailiaClassifierCompute (IntPtr classifier, IntPtr src, UInt32 src_stride, UInt32 src_width, UInt32 src_height, UInt32 src_format, UInt32 max_class_count) |
| Object identification. More...
|
|
static int | ailiaClassifierGetClassCount (IntPtr classifier, ref UInt32 cls_count) |
| Get the number of recognition results. More...
|
|
static int | ailiaClassifierGetClass (IntPtr classifier, [In, Out] AILIAClassifierClass obj, UInt32 cls_idx, UInt32 version) |
| Retrieve recognition results. More...
|
|
◆ ailiaClassifierCompute()
static int ailia.AiliaClassifier.ailiaClassifierCompute |
( |
IntPtr |
classifier, |
|
|
IntPtr |
src, |
|
|
UInt32 |
src_stride, |
|
|
UInt32 |
src_width, |
|
|
UInt32 |
src_height, |
|
|
UInt32 |
src_format, |
|
|
UInt32 |
max_class_count |
|
) |
| |
Object identification.
- Parameters
-
classifier | Distinguished object pointer |
src | video data |
src_stride | Bytes per line |
src_width | Image width |
src_height | Image height |
src_format | Image format(AILIA_IMAGE_FORMAT_*) |
max_class_count | Maximum number of recognition results |
- Returns
- If successful, returns AILIA_STATUS_SUCCESS, otherwise returns an error code.
◆ ailiaClassifierGetClass()
static int ailia.AiliaClassifier.ailiaClassifierGetClass |
( |
IntPtr |
classifier, |
|
|
[In, Out] AILIAClassifierClass |
obj, |
|
|
UInt32 |
cls_idx, |
|
|
UInt32 |
version |
|
) |
| |
Retrieve recognition results.
- Parameters
-
classifier | Distinguished object pointer |
cls | Class Information |
cls_idx | class index |
version | ailia_classifier_class_version |
- Returns
- If successful, returns AILIA_STATUS_SUCCESS, otherwise returns an error code.
If ailiaPredict() has never been executed, then AILIA_STATUS_INVALID_STATE is returned. Recognition results are sorted in order of probability.
◆ ailiaClassifierGetClassCount()
static int ailia.AiliaClassifier.ailiaClassifierGetClassCount |
( |
IntPtr |
classifier, |
|
|
ref UInt32 |
cls_count |
|
) |
| |
Get the number of recognition results.
- Parameters
-
classifier | Distinguished object pointer |
cls_count | Number of classes |
- Returns
- If successful, returns AILIA_STATUS_SUCCESS, otherwise returns an error code.
◆ ailiaCreateClassifier()
static int ailia.AiliaClassifier.ailiaCreateClassifier |
( |
ref IntPtr |
classifier, |
|
|
IntPtr |
net, |
|
|
UInt32 |
format, |
|
|
UInt32 |
channel, |
|
|
UInt32 |
range |
|
) |
| |
Create an identification object.
- Parameters
-
classifier | Pointer to identification object pointer |
net | Network object pointer |
format | Image format of the network (AILIA_NETWORK_IMAGE_FORMAT_*) |
channel | Image channel of the network (AILIA_NETWORK_IMAGE_CHANNEL_*) |
range | Image range of the network (AILIA_NETWORK_IMAGE_RANGE_*) |
- Returns
- Returns AILIA_STATUS_SUCCESS if successful, otherwise returns error code.
Create an identification object
◆ ailiaDestroyClassifier()
static void ailia.AiliaClassifier.ailiaDestroyClassifier |
( |
IntPtr |
classifier | ) |
|
Destroy the identification object.
- Parameters
-
classifier | Distinguished object pointer |
◆ AILIA_CLASSIFIER_CLASS_VERSION
const Int32 ailia.AiliaClassifier.AILIA_CLASSIFIER_CLASS_VERSION = (1) |
|
static |
The documentation for this class was generated from the following file: