Uses two different methods to detect the text to be fed into the hugging face model
- Computer vision based: using the EAST model
- OpenCV umbral/contrast based
the hugging face model is https://huggingface.co/microsoft/trocr-large-printed
the frozen EAST model can be found here https://github.com/sanifalimomin/Text-Detection-Using-OpenCV