Commit
·
799aa8d
1
Parent(s):
6dbcce6
app updated
Browse files
app.py
CHANGED
@@ -34,8 +34,6 @@ def convert_to_opencv(uploaded_file):
|
|
34 |
return image
|
35 |
|
36 |
def process_image_as_batch(path):
|
37 |
-
#read image
|
38 |
-
image = cv2.imread(path, cv2.IMREAD_COLOR)
|
39 |
#resize the image
|
40 |
image = cv2.resize(image, [512, 512])
|
41 |
#scale the image
|
|
|
34 |
return image
|
35 |
|
36 |
def process_image_as_batch(path):
|
|
|
|
|
37 |
#resize the image
|
38 |
image = cv2.resize(image, [512, 512])
|
39 |
#scale the image
|