Clone of ocropy from google code