Text this: Deep learning for ultrafast X-ray scattering and imaging with intense X-ray FEL pulses