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