15 #if !defined(INCLUDED_AILIA_CLASSIFIER)
16 #define INCLUDED_AILIA_CLASSIFIER
33 struct AILIAClassifier;
39 #define AILIA_CLASSIFIER_CLASS_VERSION (1)
81 int AILIA_API ailiaCreateClassifier(
struct AILIAClassifier** classifier,
struct AILIANetwork* net,
unsigned int format,
unsigned int channel,
unsigned int range);
119 int AILIA_API ailiaClassifierCompute(
struct AILIAClassifier* classifier,
const void* src,
unsigned int src_stride,
unsigned int src_width,
unsigned int src_height,
unsigned int src_format,
unsigned int max_class_count);
#define AILIA_API
Definition: ailia.h:28
struct _AILIAClassifierClass AILIAClassifierClass
int AILIA_API ailiaClassifierGetClassCount(struct AILIAClassifier *classifier, unsigned int *cls_count)
Gets the number of classification results.
int AILIA_API ailiaClassifierGetClass(struct AILIAClassifier *classifier, AILIAClassifierClass *obj, unsigned int cls_idx, unsigned int version)
Gets the classification results.
int AILIA_API ailiaCreateClassifier(struct AILIAClassifier **classifier, struct AILIANetwork *net, unsigned int format, unsigned int channel, unsigned int range)
Creates a classifier instance.
int AILIA_API ailiaClassifierCompute(struct AILIAClassifier *classifier, const void *src, unsigned int src_stride, unsigned int src_width, unsigned int src_height, unsigned int src_format, unsigned int max_class_count)
Performs object classification.
void AILIA_API ailiaDestroyClassifier(struct AILIAClassifier *classifier)
Destroys the classifier instance.
Definition: ailia_classifier.h:41
int category
Definition: ailia_classifier.h:49
float prob
Definition: ailia_classifier.h:57