Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def plot_outlines(img, masks):
|
|
| 43 |
ax = fig.add_axes([0.0,0.0,1,1])
|
| 44 |
ax.set_xlim([0,img.shape[1]])
|
| 45 |
ax.set_ylim([0,img.shape[0]])
|
| 46 |
-
ax.imshow(img[::-1], origin='upper')
|
| 47 |
if outpix is not None:
|
| 48 |
for o in outpix:
|
| 49 |
ax.plot(o[:,0], img.shape[0]-o[:,1], color=[1,0,0], lw=1)
|
|
|
|
| 43 |
ax = fig.add_axes([0.0,0.0,1,1])
|
| 44 |
ax.set_xlim([0,img.shape[1]])
|
| 45 |
ax.set_ylim([0,img.shape[0]])
|
| 46 |
+
ax.imshow(img[::-1], origin='upper', aspect = 'auto')
|
| 47 |
if outpix is not None:
|
| 48 |
for o in outpix:
|
| 49 |
ax.plot(o[:,0], img.shape[0]-o[:,1], color=[1,0,0], lw=1)
|