You have explained a pipeline of AI algorithms for text in images: 1) Text detection, 2) OCR, 3) named entity recognition (NER). There are reams of paper on these topics.
Extracting City and Country Name from Text
Introducing flashgeotext: extract city and country names from text
locationtagger -A Python Package for detecting location
A Comparison Between ...
I think this is a risky project. There is a lot of specialist knowledge in neural networks and NLP. Trying to learn it "on the side" in order to complete your project may be biting off more than you can chew.
If you intend to write the neural network and train it yourself, you should be prepared for long sessions of training and testing variations ...