Code is https://medium.com/gft-engineering/creating-an-ocr-microservice-using-tesseract-pdfbox-and-docker-155beb7f2623 Have a nice day
Il giorno lunedì 28 novembre 2022 alle 15:50:10 UTC+1 Giuseppe Coniglio ha scritto: > Hi to all, > I have implemented a Spring boot microservice which use tess4j 4.3.1 > and pdfbox 2.0.22 in my server Oracle Linux Server , example code > https://colwil.com/how-to-extract-text-from-a-scanned-pdf-using-ocr-in-java/ > > When I execute code with my IDE on windows pc and invoke local service, > time execution is fast : "Tesseract.doOcr" 8 seconds, so when I execute > api to invoke microservice's code method "Tesseract.doOcr" is slow, > parameter pdf file is the same > Any idea? > Thanks :-) > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/70c0de4e-0b0c-44f1-96ea-b5c2e9712921n%40googlegroups.com.