I\'m trying to crop a bounding box after I rotate an image. The initial image contains a rectangle like this one: Initial Image. I run a localization algorithm and get where thi