Unlock a device based on the image recognition