Minor addition for image detection