mirror of
https://github.com/opencv/opencv.git
synced 2025-07-31 18:07:08 +08:00
Merge pull request #18588 from damonmo:fix-issue-18553
This commit is contained in:
commit
1729297ef3
@ -958,7 +958,9 @@ class CppHeaderParser(object):
|
|||||||
else:
|
else:
|
||||||
decls.append(decl)
|
decls.append(decl)
|
||||||
|
|
||||||
if self._generate_gpumat_decls and "cv.cuda" in decl[0]:
|
if self._generate_gpumat_decls and ("cv.cuda" in decl[0] or decl[0] in [
|
||||||
|
"cv.imshow", # https://github.com/opencv/opencv/issues/18553
|
||||||
|
]):
|
||||||
# If function takes as one of arguments Mat or vector<Mat> - we want to create the
|
# If function takes as one of arguments Mat or vector<Mat> - we want to create the
|
||||||
# same declaration working with GpuMat
|
# same declaration working with GpuMat
|
||||||
args = decl[3]
|
args = decl[3]
|
||||||
|
Loading…
Reference in New Issue
Block a user