cropping image google colab
# for google colab use cv2_imshow instead
# change x, y, h ,w to the values you are happy with
import cv2
img = cv2.imread("lenna.png")
crop_img = img[y:y+h, x:x+w]
cv2.imshow("cropped", crop_img)
cv2.waitKey(0)
cropping image google colab
# for google colab use cv2_imshow instead
# change x, y, h ,w to the values you are happy with
import cv2
img = cv2.imread("lenna.png")
crop_img = img[y:y+h, x:x+w]
cv2.imshow("cropped", crop_img)
cv2.waitKey(0)
cropping image google colab
print(classification_report(y_test1,log_pred2_test))
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us