Spaces:
Sleeping
Sleeping
Update pages/7_Unstructured_data.py
Browse files
pages/7_Unstructured_data.py
CHANGED
|
@@ -604,7 +604,7 @@ if file_type == "IMAGE":
|
|
| 604 |
st.code('''
|
| 605 |
import cv2
|
| 606 |
## loads the image
|
| 607 |
-
img = cv2.imread(
|
| 608 |
## by indexing crop the image
|
| 609 |
c_m = img[98:408,390:565]
|
| 610 |
## save and display the image
|
|
|
|
| 604 |
st.code('''
|
| 605 |
import cv2
|
| 606 |
## loads the image
|
| 607 |
+
img = cv2.imread(path)
|
| 608 |
## by indexing crop the image
|
| 609 |
c_m = img[98:408,390:565]
|
| 610 |
## save and display the image
|