yolo接口
Posted juluwangshier
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yolo接口相关的知识,希望对你有一定的参考价值。
在文件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接口的主要内容,如果未能解决你的问题,请参考以下文章