I am trying to resize the image according to the contour detected after applying cv2.approxPolyDP(). Afterwards, I have to custom crop it using cv2.resize
cv2.approxPolyDP()
cv2.resize