Ask Your Question

Can I draw a square region of interest and crop it from original image using OpenCV functions?

asked 2016-06-24 12:30:59 -0500

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.

image description

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-06-24 15:05:49 -0500

Missing gravatar image

I think the answer to this question will solve your problem:

edit flag offensive delete link more


This will work perfectly fine!

StevenPuttemans gravatar imageStevenPuttemans ( 2016-06-30 06:47:21 -0500 )edit

Question Tools

1 follower


Asked: 2016-06-24 12:30:59 -0500

Seen: 800 times

Last updated: Jun 24 '16