you need to install tesseract on the server machine (only tried in windows so you need the tesseract-ocr-w64-setup-5.5.0.20241111.exe setup) after setup you have to add the tesseract.exe to the environment variable
need flask, pytesseract py libraries as well
this command searches for the installed tesseract lib in your OS