Binary Image Classification Using Python Assert