szehanz commited on
Commit
dd6ae39
1 Parent(s): 04e739f

2nd commit

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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=2)
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