Ask Your Question

Revision history [back]

Use HoughCircles to find booth circles and compute the Rotation angle. Then use getrotationmatrix2d to get the Rotation around the Center of the large Circle With the just computed Rotation an use warpaffine to apply it to the image.