I've been learning deep learning, and I built a very toy version of this recently. It's really just a classifier that can (maybe) tell you if a photo was taken in one of the 5 cities I trained it on.
https://huggingface.co/spaces/itslenny/fastai-lesson-2-big-m...