A sample image code verification written in python