using OpenCV methods
On selecting dimensions for a quadrilateral section, the code finds the maximum height and width of that selection and warps the selected area into a rectangle of dimensions maxHeight * maxWidth
python3 script.py --path image.jpg