Images processing application in Python