improvements in image detection