Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to detect multiple rectangles and rotate to vertical position

Hi, Here is the picture of what I want to analyse:

I'm going to try to save each of these paper piece to a file, and before I do it, rotate them to vertical position. Is it possible and what should be steps, functions to use it? As you can see in the picture, the pieces are lying on background with other color, that should make it easier to detect them right? Please let me know if my goal is possible. Thanks in advance!