What are the good books to understand the OCR algorithm / practical use?

I am new to image recognition. I want to understand how OCR works and I want to learn how to code my own projects based on the Tesseract / OpenCV libraries.

Please, recommend me some books that you have read and give me some practical advice on how to learn OCR.