Update app.py
Browse files
app.py
CHANGED
|
@@ -136,8 +136,8 @@ def main():
|
|
| 136 |
imge = cv2.imread("img.png")
|
| 137 |
# get co-ordinates to crop the image
|
| 138 |
imag, lc = line_cor.mark_region(imge)
|
| 139 |
-
st.success(*lc)
|
| 140 |
-
c = lc
|
| 141 |
# cropping image img = image[y0:y1, x0:x1]
|
| 142 |
imgg = imge[c[0][1]:c[1][1], c[0][0]:c[1][0]]
|
| 143 |
#plt.figure(figsize=(10,10))
|
|
|
|
| 136 |
imge = cv2.imread("img.png")
|
| 137 |
# get co-ordinates to crop the image
|
| 138 |
imag, lc = line_cor.mark_region(imge)
|
| 139 |
+
#st.success(*lc)
|
| 140 |
+
c = lc
|
| 141 |
# cropping image img = image[y0:y1, x0:x1]
|
| 142 |
imgg = imge[c[0][1]:c[1][1], c[0][0]:c[1][0]]
|
| 143 |
#plt.figure(figsize=(10,10))
|