Vision Processing Using Python Assert Function