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

How to overlap text on a figure, just like this?

\begin{figure}[!ht]
    \centering
    \begin{overpic}[keepaspectratio]{figures/appendix/A-5-4.jpg}
        \put (58,55) {$\rho$}
        \put (33,60) {$\frac{\partial \mathbf{a}_1}{\partial u}$}
        \put (33,40) {$\frac{\partial \mathbf{a}_2}{\partial v}$}
        \put (62,20) {$u$}
        \put (75,48) {$v$}
        \put (95,68) {$\mathbf{e}_{r}$}
        \put (91,88) {$\mathbf{e}_{\varphi} = \mathbf{a}_1$}
        \put (95,26) {$\mathbf{e}_{\theta}$}
        \put (50,88) {$\mathbf{a}_2$}
    \end{overpic}
    \caption{\textbf{Derivative Under Spherical Coordinates}}
    \label{cha-fig:derivative-spherical-coordinate}
\end{figure}

Hi there, a good starting point is

(potential duplicate)

Hello. Please read through How to post in the Questions category and update your post:

For other languages, use their appropriate extensions.

Yes, It is duplicated with the metioned post. Thanks for you reply.

Duplicate of

Thanks for pointing it out @vmartel08!