1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| #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(const int typ);
|
| #ifdef __cplusplus
| }
| #endif
|
| #endif
|
|