how to convert images into sketch in python