wangjin2000 commited on
Commit
eaf05c8
·
verified ·
1 Parent(s): 662dfba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def draw_bounding_boxes(img, results):
87
  def show_preds_image(filepath):
88
  results, img0, dicom_meta = detect_objects(filepath)
89
  img_with_boxes, results = draw_bounding_boxes(img0, results)
90
- print("In show_preds_image:Intance Number=", dicom_meta.loc[dicom_meta.Key == 'Intance Number', 'Value'].iloc[0])
91
  #return cv2.cvtColor(img_with_boxes, cv2.COLOR_BGR2RGB)
92
  return cv2.cvtColor(img_with_boxes, cv2.COLOR_BGR2RGB), results, dicom_meta
93
 
 
87
  def show_preds_image(filepath):
88
  results, img0, dicom_meta = detect_objects(filepath)
89
  img_with_boxes, results = draw_bounding_boxes(img0, results)
90
+ print("In show_preds_image:Intance Number=", dicom_meta.loc[dicom_meta.Key == 'Instance Number', 'Value'].iloc[0])
91
  #return cv2.cvtColor(img_with_boxes, cv2.COLOR_BGR2RGB)
92
  return cv2.cvtColor(img_with_boxes, cv2.COLOR_BGR2RGB), results, dicom_meta
93