Spaces:
Sleeping
Sleeping
2nd commit
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def predict2(image_np):
|
|
70 |
max_boxes_to_draw=200,
|
71 |
min_score_thresh=.60,
|
72 |
agnostic_mode=False,
|
73 |
-
line_thickness=
|
74 |
|
75 |
result_pil_img = tf.keras.utils.array_to_img(image_np_with_detections[0])
|
76 |
|
@@ -81,7 +81,6 @@ REPO_ID = "szehanz/mytfodmodel"
|
|
81 |
detection_model = load_model()
|
82 |
# pil_image = Image.open(image_path)
|
83 |
# image_arr = pil_image_as_numpy_array(pil_image)
|
84 |
-
|
85 |
# predicted_img = predict(image_arr)
|
86 |
# predicted_img.save('predicted.jpg')
|
87 |
|
|
|
70 |
max_boxes_to_draw=200,
|
71 |
min_score_thresh=.60,
|
72 |
agnostic_mode=False,
|
73 |
+
line_thickness=8)
|
74 |
|
75 |
result_pil_img = tf.keras.utils.array_to_img(image_np_with_detections[0])
|
76 |
|
|
|
81 |
detection_model = load_model()
|
82 |
# pil_image = Image.open(image_path)
|
83 |
# image_arr = pil_image_as_numpy_array(pil_image)
|
|
|
84 |
# predicted_img = predict(image_arr)
|
85 |
# predicted_img.save('predicted.jpg')
|
86 |
|