Call Setup() after Load()
Some checks are pending
debian-build / build (push) Waiting to run
Push to master / Check Formatting 🔍 (push) Waiting to run
Push to master / Build Project 🧱 (push) Waiting to run
Push to master / Create Release 🛫 (push) Blocked by required conditions

Tesseract API depends on the languageCode and this must be reinitialized after Load
This commit is contained in:
Kaito Udagawa 2025-03-04 23:09:40 +09:00 committed by WarmUpTill
parent 1e05f2f2ce
commit 930118c61f

View File

@ -312,6 +312,7 @@ bool OCRParameters::Load(obs_data_t *obj)
if (initDone) {
ocr->SetPageSegMode(pageSegMode);
}
Setup();
return true;
}