Spaces:
Sleeping
Sleeping
Update pages/7_Unstructured_data.py
Browse files595 unmodified lines596597598599600601595 unmodified linescv2.waitKey()cv2.destroyAllWindows()''')595 unmodified lines596597598599600601602603604605606607608609610611612613614615616617618595 unmodified linescv2.waitKey()cv2.destroyAllWindows()''')st.subheader('**Cropping**')st.markdown('''- Cropping is a affine transformation matrix used to crop the image in size using indexing''')st.code('''import cv2## loads the imageimg = cv2.imread(r"C:\Users\Harika\OneDrive\Pictures\Camera Roll 1\20201119_145554.png")## by indexing crop the imagec_m = img[98:408,390:565]## save and display the imagecv2.imshow("org_img",img)cv2.imshow("crop_img",c_m)cv2.waitKey()cv2.destroyAllWindows()''')
pages/7_Unstructured_data.py+17