How to overlap text on a figure, just like the overpic package of Latex

Hi there, a good starting point is

(potential duplicate)