27 lines
739 B
C++
Executable File
27 lines
739 B
C++
Executable File
#ifndef _WRAPPERNCNN_H__
|
|
#define _WRAPPERNCNN_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// #define TEST_FLAG
|
|
|
|
/*
|
|
JPG or PNG chang to yuv420sp W=640 scale
|
|
*/
|
|
const void* ncnn_get_syuv_param(); // YuvStuct* psyuv = (YuvStuct*)get_syuv_param();
|
|
const void* ncnn_get_objects_param(); // std::vector<Object>* objs = (std::vector<Object>*)get_objects_param();
|
|
const void* ncnn_get_cur_bgr(); // ((cv::Mat*)ncnn_get_cur_bgr())->cols
|
|
void ncnn_clear_objects_param();
|
|
void ncnn_clear_proposals_param();
|
|
const char** ncnn_get_class_name();
|
|
|
|
int ncnn_convertimg_yolov5s(const char* jpg,const char* yuvpath);
|
|
int ncnn_convertimg_yolov5s_by_cvim(void* cvim);
|
|
int ncnn_result(const float *src,unsigned int len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif |