We need a python script (can be python 2.7 or python3) which does the following for all bmp files in a folder:
a) crops the image in a horizontal plane 25 pixels above the "highest point" of a red line in the image
b) crops the image in a horizontal plane in a user defined point "below" the point identified in a)
c) resizes the image to user defined dimensions (e.g. 224 x 224 pixels)
d) saves the image as a jpeg with a new a new suffix "_OUT"