提交 fbcc532d 编写于 作者: A Alexander Alekhin

Merge pull request #19300 from alkasm:patch-2

......@@ -18,7 +18,7 @@ else:
## [capture]
capture = cv.VideoCapture(cv.samples.findFileOrKeep(args.input))
if not capture.isOpened:
if not capture.isOpened():
print('Unable to open: ' + args.input)
exit(0)
## [capture]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册