Hi@akhtar,
You can do this task using cv2 module in python. Use the below given code.
import cv2
photo = cv2.imread('img1.png')
photo1 = photo[140:500, 780:1050]
cv2.imshow('My Photo', photo1)
cv2.waitKey()
cv2.destroyAllWindows()
Before running this code, make sure you change dimensions according to your need.
Hope this will work.