I have images of metal disks with some text engraved around their center in a circular manner. That text always starts with the same string, e.g. “AUSTRIA” in this example:
The images are taken straight from above, with the disk underneath the camera. However, they can be rotated in any angle, so that the engravement can be anywhere on the image (i.e. in any 360° angle rotaton).
Now I want to align/rotate all these images so that the beginning pixel of the “AUSTRIA” string is always exactly “north” (i.e. at degeree 0) of the image. I wanted to share some code using Python and cv2, but none of my approaches really work. Maybe I am on the wrong track …
Do you have any ideas how to solve this problem?
2