码迷,mamicode.com
首页 > 其他好文 > 详细

yolo接口

时间:2020-04-18 21:18:09      阅读:117      评论:0      收藏:0      [点我收藏+]

标签:ice   style   ons   pre   col   dispose   send   ini   opencv   

在文件yolo_v2_class.hpp中声明。

extern "C" LIB_API int init(const char *configurationFilename, const char *weightsFilename, int gpu);
extern "C" LIB_API int detect_image(const char *filename, bbox_t_container &container);
extern "C" LIB_API int detect_mat(const uint8_t* data, const size_t data_length, bbox_t_container &container);
extern "C" LIB_API int dispose();
extern "C" LIB_API int get_device_count();
extern "C" LIB_API int get_device_name(int gpu, char* deviceName);
extern "C" LIB_API bool built_with_cuda();
extern "C" LIB_API bool built_with_cudnn();
extern "C" LIB_API bool built_with_opencv();
extern "C" LIB_API void send_json_custom(char const* send_buf, int port, int timeout);

 

yolo接口

标签:ice   style   ons   pre   col   dispose   send   ini   opencv   

原文地址:https://www.cnblogs.com/juluwangshier/p/12728108.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!