mirror of
https://github.com/opencv/opencv.git
synced 2025-06-06 00:43:52 +08:00
fixed error in OpenCL ORB
This commit is contained in:
parent
1176d4ef84
commit
54e65598bd
@ -105,7 +105,7 @@ ocl_computeOrbDescriptors(const UMat& imgbuf, const UMat& layerInfo,
|
||||
size_t globalSize[] = {nkeypoints};
|
||||
|
||||
ocl::Kernel desc_ker("ORB_computeDescriptor", ocl::features2d::orb_oclsrc,
|
||||
format("-D ORB_DESCRIPTORS -D wta_k=%d", wta_k));
|
||||
format("-D ORB_DESCRIPTORS -D WTA_K=%d", wta_k));
|
||||
if( desc_ker.empty() )
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user