import cv2

img = cv2.imread("lenna.png")
print("Resim Boyutu: ",img.shape)
cv2.imshow("Orijinal",img)

#resized
imgResized = cv2.resize(img,(800,800))
print("Resized Img Shape: ",imgResized.shape)
cv2.imshow("Img Resized", imgResized)

#crop
imgCropped = img[:200,:300]
cv2.imshow("Cropped Img", imgCropped)


03e3e228257510b71ec42a914ab86f74aa0f7e9f
<mask token>

<mask token>
print('Resim Boyutu: ', img.shape)
cv2.imshow('Orijinal', img)
<mask token>
print('Resized Img Shape: ', imgResized.shape)
cv2.imshow('Img Resized', imgResized)
<mask token>
cv2.imshow('Cropped Img', imgCropped)

<mask token>
img = cv2.imread('lenna.png')
print('Resim Boyutu: ', img.shape)
cv2.imshow('Orijinal', img)
imgResized = cv2.resize(img, (800, 800))
print('Resized Img Shape: ', imgResized.shape)
cv2.imshow('Img Resized', imgResized)
imgCropped = img[:200, :300]
cv2.imshow('Cropped Img', imgCropped)

import cv2
img = cv2.imread('lenna.png')
print('Resim Boyutu: ', img.shape)
cv2.imshow('Orijinal', img)
imgResized = cv2.resize(img, (800, 800))
print('Resized Img Shape: ', imgResized.shape)
cv2.imshow('Img Resized', imgResized)
imgCropped = img[:200, :300]
cv2.imshow('Cropped Img', imgCropped)

import cv2

img = cv2.imread("lenna.png")
print("Resim Boyutu: ",img.shape)
cv2.imshow("Orijinal",img)

#resized
imgResized = cv2.resize(img,(800,800))
print("Resized Img Shape: ",imgResized.shape)
cv2.imshow("Img Resized", imgResized)

#crop
imgCropped = img[:200,:300]
cv2.imshow("Cropped Img", imgCropped)

