#ifndef _cpp_yolo_h_ #define _cpp_yolo_h_ #include "struct.h" struct image_t; class Detector; namespace cppyolo { void *init(const char *cfg, const char *weights, const char *name, const int gpu); void release(void *handle); int detect(void *handle, const cIMAGE *img, const float thrsh, const bool use_mean, void **objs, int *objCount); const char* obj_name_by_type(const int typ); } // namespace cppyolo #endif