otiai10 / gosseract

Go package for OCR (Optical Character Recognition), by using Tesseract C++ library
https://pkg.go.dev/github.com/otiai10/gosseract
MIT License
2.74k stars 290 forks source link

[Question] High CPU Usage #308

Closed tatuzex1 closed 7 months ago

tatuzex1 commented 7 months ago

Question

This is not an issue, it's more of a question. It's my first time using Tesseract. I tested Gosseract and Pytesseract; both work correctly. However, in only one request, the container's CPU usage stays between 150% and 300%, and the time is 1 second for both. Is this normal?"

Container images: golang:latest

Environment

go version

latest

tesseract latest