#ifndef _c_yolo_h_ #define _c_yolo_h_ #ifdef __cplusplus extern "C"{ #endif void* init(const char *cfg, const char *weights, const char *name, const int gpu); void release(void *handle); int detect(void *handle, const void *data, const int w, const int h, const int c, const float thrsh, const int use_mean, void **objInfos, int *objCount); const char* obj_name_by_type(void *handle, const int typ); #ifdef __cplusplus } #endif #endif