Reply to "Straighten" CapturedRoom data for the most simple setup you can just calculate the smallest rotating bounding box, similar to OpenCV's rotated rect. App & System Services General 2w