tesseract
tesseract copied to clipboard
Pix.LoadFromMemory takes time overhead
I see pix.LoadFromMemory() takes an average of 350ms in my cases, How I can increase its performance?
Probably an issue that should be discussed on the Leptonica Github issues list.
I was seeing this too - What I really want is to be able to give it a pointer to the byte array of image memory that is already decoded. The current sample creates an entire copy of it - that's a lot of overhead that could be saved, and it's not uncommon we already have a decoded image.