Towhidul commited on
Commit
411cf73
1 Parent(s): 9f19a81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -80,8 +80,8 @@ if file is not None:
80
 
81
  # img = cv2.imread(file)
82
  # cv2_imshow(img)
83
- img1 = cv2.resize(opencv_image, (28, 28))
84
- result = model.predict(img1.reshape(1, 28, 28, 3))
85
  max_prob = max(result[0])
86
  class_ind = list(result[0]).index(max_prob)
87
  class_name = classes[class_ind]
 
80
 
81
  # img = cv2.imread(file)
82
  # cv2_imshow(img)
83
+ img1 = cv2.resize(opencv_image, (32, 32))
84
+ result = model.predict(img1.reshape(1, 32, 32, 3))
85
  max_prob = max(result[0])
86
  class_ind = list(result[0]).index(max_prob)
87
  class_name = classes[class_ind]