I have a slide with a figure in it. I want show a vertically and horizontally centered (relative to the image if possible) text box overtop of it as an overlay which will contain a few lines of text.

\documentclass{beamer}
\usepackage[T1]{fontenc}
\begin{document}
\begin{frame}
\frametitle{ESR1}
\begin{center}
Functional analysis
\end{center}
\begin{center}
\includegraphics[width=1\textwidth]{some_image.jpg}
\end{center}
\end{frame}
\end{document}

