classify image by width, height (Need install pillow in python3)