mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Merge pull request #19300 from alkasm:patch-2
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user