mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
Update python samples
This commit is contained in:
@@ -86,8 +86,8 @@ def main():
|
||||
|
||||
framenum = -1 # Frame counter
|
||||
|
||||
captRefrnc = cv.VideoCapture(sourceReference)
|
||||
captUndTst = cv.VideoCapture(sourceCompareWith)
|
||||
captRefrnc = cv.VideoCapture(cv.samples.findFileOrKeep(sourceReference))
|
||||
captUndTst = cv.VideoCapture(cv.samples.findFileOrKeep(sourceCompareWith))
|
||||
|
||||
if not captRefrnc.isOpened():
|
||||
print("Could not open the reference " + sourceReference)
|
||||
|
||||
Reference in New Issue
Block a user