by detecting the image directly