How to process smart phone images?