OCR: choose the recognizer language per call (find_text, index_recording, wait_for_change)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 56/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
Start with src/utils/ocr.ts and trace how OCR is created and how language handling is reported; then follow the callers in src/tools/findText.ts, src/tools/doctor.ts, and src/utils/recordingIndex.ts. Check how index_recording builds its cache key and how caller options are documented. Done means the selected language is used, unsupported languages report installed options, doctor lists them, and changing language invalidates the index cache.
索引モデルが issue の本文から書いたものです。
説明
Summary
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.
Where
src/utils/ocr.ts:309(OcrEngine::TryCreateFromUserProfileLanguages())src/utils/ocr.ts:72-75(the only language handling is an error hint)- Callers:
find_text,index_recording,wait_for_change(modetext),bug_report, pipelineredact.secrets
Suggested fix
- Add an optional
language(BCP-47, such asja,de-DE) to the OCR helper. UseOcrEngine::TryCreateFromLanguage([Windows.Globalization.Language]::new($lang))and fail clearly whenIsLanguageSupportedis false, listingOcrEngine.AvailableRecognizerLanguages. - Expose it on the callers above (or as one
SCREENCAST_OCR_LANGUAGEdefault plus a per-call override). doctorlists the installed OCR languages.- Include the language in the
index_recordingcache 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
-
doctorreports available OCR languages - Index cache is invalidated on language change
Getting started
- Relevant files:
src/utils/ocr.ts,src/tools/findText.ts,src/tools/doctor.ts,src/utils/recordingIndex.ts - Run
npm run docsafter adding the parameter
Filed by repo-audit/feature-ideas at 1ac339f. Severity: medium. Effort: M. audit-key: enhancement|src/utils/ocr.ts|language
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 4
- 平均マージ
- 8時間 17分
- マージ済み PR(30日)
- 46
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TMHSDigital/screencast-mcp のほかの issue
-
effort: small good first issue priority: medium testing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
TMHSDigital/screencast-mcp#351 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
effort: small enhancement good first issue priority: low
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
TMHSDigital/screencast-mcp#380 ·
メンテナーはふだん 1 日以内に返信
-
effort: medium enhancement help wanted priority: medium
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
TMHSDigital/screencast-mcp#378 ·
メンテナーはふだん 1 日以内に返信
-
Review player: limit a redaction box to a time window対応中かも @lucky0559 が 2 日前に担当しました。 オープンeffort: small enhancement good first issue priority: medium
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
TMHSDigital/screencast-mcp#377 ·
メンテナーはふだん 1 日以内に返信
-
effort: medium enhancement help wanted priority: high
難易度 4/5 1〜2日 初心者へのやさしさ 58/100
TMHSDigital/screencast-mcp#376 ·
メンテナーはふだん 1 日以内に返信
TMHSDigital/screencast-mcp の issue をすべて見る
似ている issue
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
openclaw/openclaw#203385 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nwverse/persona#12800 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
microsoft/playwright#44289 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 半日 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信