Ayesha352 commited on
Commit
19d0a08
·
verified ·
1 Parent(s): 388fe9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,8 +119,8 @@ def homography_show_three(flat_file, persp_file, json_file, xml_file):
119
 
120
  # Resize + Headings
121
  flat_rgb = add_heading(fit_to_box(cv2.cvtColor(flat_with_roi,cv2.COLOR_BGR2RGB),600,600), "Flat Image with JSON ROI")
122
- roi_rgb = add_heading(fit_to_box(cv2.cvtColor(persp_roi,cv2.COLOR_BGR2RGB),600,600), "Perspective Image with Homography ROI")
123
- xml_rgb = add_heading(fit_to_box(cv2.cvtColor(xml_gt_img,cv2.COLOR_BGR2RGB),600,600), "Perspective Image with GT ROI")
124
 
125
  # Side-by-side 1 row
126
  combined = np.hstack([flat_rgb, roi_rgb, xml_rgb])
 
119
 
120
  # Resize + Headings
121
  flat_rgb = add_heading(fit_to_box(cv2.cvtColor(flat_with_roi,cv2.COLOR_BGR2RGB),600,600), "Flat Image with JSON ROI")
122
+ roi_rgb = add_heading(fit_to_box(cv2.cvtColor(persp_roi,cv2.COLOR_BGR2RGB),600,600), "Perspective Img with ROI(Homography)")
123
+ xml_rgb = add_heading(fit_to_box(cv2.cvtColor(xml_gt_img,cv2.COLOR_BGR2RGB),600,600), "Perspective Img with GT ROI")
124
 
125
  # Side-by-side 1 row
126
  combined = np.hstack([flat_rgb, roi_rgb, xml_rgb])