You can do this with any camera, including the one in all the phones out there. The only thing specific to the glasses is that it's more convenient and inconspicuous to be wearing it on your face.
Might as well have put the iPhone in the title for more clickbait. Anyone dedicated enough can make or buy tons of different kinds of wearables that could do the same.
The key issue is that such a database exists and is so easily searchable.