This statement was keeping HAAR cascades from leveraging opencl on nvidia devices...
authorGeoff McIver <geoff@p0wdr.com>
Tue, 10 Oct 2017 20:32:38 +0000 (09:32 +1300)
committerGeoff McIver <geoff@p0wdr.com>
Tue, 10 Oct 2017 20:32:38 +0000 (09:32 +1300)
commitb2d8e8c508a6b0a6effd3b8abff9e98bfbcee1f7
tree50073783f56144334c0dcb53e7b60bd61394d35c
parentaf8ed9d09fef2a8b92520641df2c1439fb85b5d0
This statement was keeping HAAR cascades from leveraging opencl on nvidia devices. "localSize" on the featureEvaluator remains Size(0, 0) which sets the bool "use_ocl" to false. Adding this allows NVidia GPUs to leverage opencl HAAR Cascades
modules/objdetect/src/cascadedetect.cpp