Image Orientation Sorter (Python)
![Image Orientation Sorter (Python)](/content/images/size/w960/2022/10/photo-1544383835-bda2bc66a55d.jpeg)
While I was working on a project for an ecommerce business we encountered a problem: 54.000 images had to be sorted in different folders based on their orientation. Doing this manually would take too much time and we were unable to find a feature in our OS to sort the files automatically.
At the time, I wanted to experiment with Python. So when I arrived at home, I opened the documentation for Python and created a small script that would solve our problem!
You can find the source code for this project on GitHub.