You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OCR: choose the recognizer language per call (find_text, index_recording, wait_for_change) #379
OCR always uses the Windows user-profile languages. A recording of a Japanese or German app on an English-profile machine is read with the English recognizer, even when that language pack is installed. There is no way to choose the language per call.
Add an optional language (BCP-47, such as ja, de-DE) to the OCR helper. Use OcrEngine::TryCreateFromLanguage([Windows.Globalization.Language]::new($lang)) and fail clearly when IsLanguageSupported is false, listing OcrEngine.AvailableRecognizerLanguages.
Expose it on the callers above (or as one SCREENCAST_OCR_LANGUAGE default plus a per-call override).
doctor lists the installed OCR languages.
Include the language in the index_recording cache key, so switching languages re-indexes.
Acceptance criteria
find_text { language: "de-DE" } uses the German recognizer when installed
An uninstalled language returns an error naming the installed ones
Activity