Text this: Physics-guided deep learning strategy for 2D structure reconstruction from diffraction patterns