March 2019
Intermediate to advanced
532 pages
13h 2m
English
To crop the image, we will make use of NumPy slicing, as shown in the following code:
dst_image = image[80:200, 230:330]
As mentioned before, the code for these geometric transformations corresponds to the geometric_image_transformations.py script.