1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Update python samples

This commit is contained in:
Suleyman TURKMEN
2022-01-22 11:27:01 +03:00
parent f811ba8777
commit 2647902fee
7 changed files with 28 additions and 10 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ def main():
src = sys.argv[1]
except:
src = 0
cap = video.create_capture(src)
cap = video.create_capture(src, fallback='synth:bg={}:noise=0.05'.format(cv.samples.findFile('sudoku.png')))
classifier_fn = 'digits_svm.dat'
if not os.path.exists(classifier_fn):