def normalize_pts(pts, ymax, scaler=<NUM_LIT:2>):
return [(x * scaler, ymax - (y * scaler)) for x, y in pts]<EOL>
scales all coordinates and flip y axis due to different
origin coordinates (top left vs. bottom left)