提交 1729297e 编写于 作者: A Alexander Alekhin

Merge pull request #18588 from damonmo:fix-issue-18553

......@@ -958,7 +958,9 @@ class CppHeaderParser(object):
else:
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
# same declaration working with GpuMat
args = decl[3]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册