YannisK commited on
Commit
41cc041
·
1 Parent(s): a0c42c4
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -116,17 +116,15 @@ def generate_matching_superfeatures(im1, im2, scale_id=6, threshold=50):
116
  img2rsz[m,n, :] = col_[::-1]
117
  fin_img.append(img2rsz)
118
 
119
- fig1 = plt.figure()
120
- fig1.imshow(cv2.cvtColor(img1rsz, cv2.COLOR_BGR2RGB))
121
- ax1 = plt.gca()
122
  ax1.axis('scaled')
123
  ax1.axis('off')
124
 
125
  plt.tight_layout()
126
 
127
- fig2 = plt.figure()
128
- fig2.imshow(cv2.cvtColor(img2rsz, cv2.COLOR_BGR2RGB))
129
- ax2 = plt.gca()
130
  ax2.axis('scaled')
131
  ax2.axis('off')
132
 
 
116
  img2rsz[m,n, :] = col_[::-1]
117
  fin_img.append(img2rsz)
118
 
119
+ fig1, ax1 = plt.figure()
120
+ ax1.imshow(cv2.cvtColor(img1rsz, cv2.COLOR_BGR2RGB))
 
121
  ax1.axis('scaled')
122
  ax1.axis('off')
123
 
124
  plt.tight_layout()
125
 
126
+ fig2, ax2 = plt.figure()
127
+ ax2.imshow(cv2.cvtColor(img2rsz, cv2.COLOR_BGR2RGB))
 
128
  ax2.axis('scaled')
129
  ax2.axis('off')
130