- corners = [(0, 0), (width, 0), (width, height), (0, height)]
- target = [(top_x_shift, 0), (width - top_x_shift, 0), (width, height), (0, height)]
+ corners = np.array([(0, 0), (width, 0), (width, height), (0, height)], dtype=np.float32)
+ target = np.array([(top_x_shift, 0), (width - top_x_shift, 0), (width, height), (0, height)], dtype=np.float32)