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

Added images necessary for tests

This commit is contained in:
Vitaly Tuzov
2016-02-25 17:25:24 +03:00
parent aaa30dc5b6
commit 25b4d8a1b5
18 changed files with 18 additions and 35 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ from numpy.linalg import norm
SZ = 20 # size of each digit is SZ x SZ
CLASS_N = 10
DIGITS_FN = 'samples/data/digits.png'
DIGITS_FN = 'samples/python2/data/digits.png'
def split2d(img, cell_size, flatten=True):
h, w = img.shape[:2]