Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def custom_decode_predictions(predictions, class_labels):
|
|
| 64 |
def classify_image(img):
|
| 65 |
img = cv2.resize(img, (540, 540), interpolation=cv2.INTER_AREA)
|
| 66 |
img_array = img_to_array(img)
|
| 67 |
-
img_array = exposure.equalize_hist(img_array)
|
| 68 |
img_array = np.expand_dims(img_array, axis=0)
|
| 69 |
img_array = preprocess_input(img_array)
|
| 70 |
|
|
|
|
| 64 |
def classify_image(img):
|
| 65 |
img = cv2.resize(img, (540, 540), interpolation=cv2.INTER_AREA)
|
| 66 |
img_array = img_to_array(img)
|
| 67 |
+
#img_array = exposure.equalize_hist(img_array)
|
| 68 |
img_array = np.expand_dims(img_array, axis=0)
|
| 69 |
img_array = preprocess_input(img_array)
|
| 70 |
|