Skip to content
Snippets Groups Projects
Commit 2f0499fc authored by Harald Scheidl's avatar Harald Scheidl
Browse files

test: data aug=true

parent ca133566
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ if __name__ == '__main__': ...@@ -75,7 +75,7 @@ if __name__ == '__main__':
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
img = cv2.imread('../data/test.png', cv2.IMREAD_GRAYSCALE) img = cv2.imread('../data/test.png', cv2.IMREAD_GRAYSCALE)
img_aug = preprocess(img, (128, 32), False) img_aug = preprocess(img, (128, 32), True)
plt.subplot(121) plt.subplot(121)
plt.imshow(img, cmap='gray') plt.imshow(img, cmap='gray')
plt.subplot(122) plt.subplot(122)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment