14 #if !defined(INCLUDED_AILIA_FEATURE_EXTRACTOR)
15 #define INCLUDED_AILIA_FEATURE_EXTRACTOR
32 struct AILIAFeatureExtractor;
47 #define AILIA_FEATURE_EXTRACTOR_DISTANCE_L2NORM (0)
72 int AILIA_API ailiaCreateFeatureExtractor(
struct AILIAFeatureExtractor** fextractor,
struct AILIANetwork* net,
unsigned int format,
unsigned int channel,
unsigned int range,
const char* layer_name);
112 int AILIA_API ailiaFeatureExtractorCompute(
struct AILIAFeatureExtractor* fextractor,
void* dst,
unsigned int dst_size,
const void* src,
unsigned int src_stride,
unsigned int src_width,
unsigned int src_height,
unsigned int src_format);
139 int AILIA_API ailiaFeatureExtractorMatch(
struct AILIAFeatureExtractor* fextractor,
float* distance,
unsigned int distance_type,
const void* feature1,
unsigned int feature1_size,
const void* feature2,
unsigned int feature2_size);
#define AILIA_API
Definition: ailia.h:28