String In Python Image Processing