How to extract characters from the image using Google's Tesseract and print them on the streamlit application?

Hi,

I want to extract characters from image using Google’s Tesseract and print them on the streamlit application.
What are the steps to do that?
Thank you for your help.