Python Forum
How to automatically align an image - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: How to automatically align an image (/thread-26678.html)



How to automatically align an image - robrod26 - May-09-2020

I have dozens of images of this coin at various rotations (34, 120, 170, etc. degrees). What would be the easiest and best way in Python to automatically straighten the images so they are "aligned" as shown in the image below?

[Image: 7iVOZ.jpg]


RE: How to automatically align an image - ThomasL - May-09-2020

The easiest and best way doesn't always match, so I'd replace the "and" with an "or".

I don't know either, but I would try a convolutional neural net. (Machine learning / AI)