1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Update python samples

This commit is contained in:
Suleyman TURKMEN
2021-02-17 12:04:49 +03:00
parent 0a7a54f312
commit 9b399f3960
11 changed files with 25 additions and 23 deletions
@@ -33,7 +33,7 @@ def hog(img):
return hist
## [hog]
img = cv.imread('digits.png',0)
img = cv.imread(cv.samples.findFile('digits.png'),0)
if img is None:
raise Exception("we need the digits.png image from samples/data here !")