Can I draw a square region of interest and crop it from original image using OpenCV functions?
Like the image shown below, there is one square region of interest in the image. However, the region of interest is a rotated square so crop it out and save as an image is kind of hard. Could you provide a solution based on OpenCV functions or any other functions? Thank you.