|
CV_OCL_RUN(_image.isUMat(), ocl_apply(_image, _fgmask, learningRate)) |
In bgfg_mog2, it needs UMat as input to enable OpenCL support,
but these two tests just take Mat as input.
|
mog2->apply(frame_buffer[i], u_foreground); |
|
OCL_ON (mog2_ocl->apply(frame, u_foreground)); |
opencv/modules/video/src/bgfg_gaussmix2.cpp
Line 852 in f5862da
In bgfg_mog2, it needs UMat as input to enable OpenCL support,
but these two tests just take Mat as input.
opencv/modules/video/perf/opencl/perf_bgfg_mog2.cpp
Line 47 in f5862da
opencv/modules/video/test/ocl/test_bgfg_mog2.cpp
Line 67 in f5862da