#ifdef __cplusplus #include extern "C" { #endif #include "core.h" #include "dnn.h" #ifdef __cplusplus typedef cv::AsyncArray* AsyncArray; #else typedef void* AsyncArray; #endif AsyncArray AsyncArray_New(); const char* AsyncArray_GetAsync(AsyncArray async_out,Mat out); void AsyncArray_Close(AsyncArray a); AsyncArray Net_forwardAsync(Net net, const char* outputName); #ifdef __cplusplus } #endif