Automatic Image Orientation is a project started in UC Santa Cruz as a Master's Thesis by Alex Trofimov. This project contains machine learning code for pattern recognition. Most of the code is very general towards Machine Learning problems. Only some of it is geared towards image processing.
The code is made available public as per request of Manfred Warmuth. It is supported by the author, Alex Trofimov. Any contribution is welcome. If you would like to add to the code base, just ask to become a developer or a member. Anyone from UCSC (or any other .edu domain) will be added immediately.
If you just want to use the code, please check it out from the SVN and use it as you see fit. If you are not familiar with SF.net, just point to this repository:
https://svn.code.sf.net/p/aio/imageai/trunk
To learn more about it, you can download the paper that describes the motivation:
Automatic Image Orientation
If you are interested in the usage and abilities of the project, you can browse the wiki:
https://sourceforge.net/p/aio/wiki/