Harika22 commited on
Commit
5274302
·
verified ·
1 Parent(s): 870387e

Update pages/7_Unstructured_data.py

Browse files
Files changed (1) hide show
  1. pages/7_Unstructured_data.py +1 -1
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(r"C:\Users\Harika\OneDrive\Pictures\Camera Roll 1\20201119_145554.png")
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