workaround for some strange bug on old Mac.
This commit is contained in:
parent
8998186ce4
commit
bc730292bb
@ -1312,6 +1312,7 @@ void CascadeClassifierImpl::detectMultiScaleNoGrouping( InputArray _image, std::
|
||||
bool use_ocl = ocl::useOpenCL() &&
|
||||
(featureType == FeatureEvaluator::HAAR ||
|
||||
featureType == FeatureEvaluator::LBP) &&
|
||||
ocl::Device::getDefault().type() != ocl::Device::TYPE_CPU &&
|
||||
!isOldFormatCascade() &&
|
||||
data.isStumpBased() &&
|
||||
maskGenerator.empty() &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user