最近在做视觉外观缺陷检测方面算法研究,种类繁多,c++基本实现 干扰那么多裂纹也能识别 欢迎交流 18046991280
int guijiao_yj_alg::fx_initial_gpu(int gpu_id, int cam_id, char* path_input)
{
inital_detection_gpu_x_cam_x(gpu_id, cam_id, path_input);
return 0;
}
int guijiao_yj_alg::fx_alg_processing(int cam_id, char* data, int width, int height, int channel)
{
int num = image_detection_gpu_x_cam_x(cam_id, data, width, height, channel);
return num;
}
bool guijiao_yj_alg::fx_get_detection_result_gpu_cam_x(struct tr_s_resultinfo* Result, int Num, int cam_id)
{
bool xx = get_detection_result_gpu_cam_x(Result, Num, cam_id);
return xx;
}
int guijiao_yj_alg::fx_release_detection_gpu_x_cam_x(int cam_id)
{
release_detection_gpu_x_cam_x(cam_id);
return 0;
}
|