派生自 libgowrapper/yolo

zhangmeng
2019-12-11 b63c8219736016e3b3952465f41abede37a38fbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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