mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-25 07:19:39 -05:00
Call Setup() after Load()
Tesseract API depends on the languageCode and this must be reinitialized after Load
This commit is contained in:
parent
1e05f2f2ce
commit
930118c61f
|
|
@ -312,6 +312,7 @@ bool OCRParameters::Load(obs_data_t *obj)
|
|||
if (initDone) {
|
||||
ocr->SetPageSegMode(pageSegMode);
|
||||
}
|
||||
Setup();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user