[tesseract-ocr] AdaptiveClassifierIsEmpty read-access violation

2022-09-21 Thread Darren Morby
This is in Tesseract 4.01. I get a read-access violation in this function in classify.h: bool AdaptiveClassifierIsEmpty() const { return AdaptedTemplates->NumPermClasses == 0; } This function does not check that AdaptedTemplates is nullptr or not nullptr. It is being called by Tesserac

Re: [tesseract-ocr] AdaptiveClassifierIsEmpty read-access violation

2022-09-23 Thread Darren Morby
ad-access violation problem. > function AdaptiveClassifierIsEmpty is not part of the public API ( > https://github.com/tesseract-ocr/tesseract/tree/main/include/tesseract). > > > Zdenko > > > št 22. 9. 2022 o 8:42 Darren Morby napísal(a): > >> This is in Tesseract 4