d3ro-voice/packages/core
Yun Chan 03cd8bf890 feat(desktop): screen text capture (OCR) overlay with selectable text
A rebindable screen-ocr action (default Ctrl+Alt+O) freezes the monitor under the cursor and
covers it with a focusable overlay. Text is selected by flow drag, rectangle drag, double/triple
click, Shift+click or Ctrl+A, then copied, saved as PNG or searchable PDF, translated,
summarized, read aloud, opened as a link or searched.

- Selection, text assembly and the PDF document are pure functions in @d3ro/core/screen-ocr,
  shared by the main process and the overlay.
- Recognition uses Windows.Media.Ocr through powershell.exe -EncodedCommand with 2x upscaling;
  the capture reaches disk only as a temp PNG that is removed right after recognition.
- Capture uses GDI BitBlt for the target monitor (39 ms) because desktopCapturer captured all
  three monitors and took 2.9 s when DXGI duplication timed out.
- The accelerator is reserved only where the feature is available, so macOS does not swallow
  the key for a feature it cannot run (fails closed with a message).

Map: CAP-17 [~], GAP-OCR-01 (live hotkey journey not yet driven in the running app),
GAP-OCR-02 (macOS engine, mixed-language accuracy).
2026-11-20 15:16:37 +09:00
..
__tests__ feat(desktop): screen text capture (OCR) overlay with selectable text 2026-11-20 15:16:37 +09:00
src feat(desktop): screen text capture (OCR) overlay with selectable text 2026-11-20 15:16:37 +09:00
package.json chore(release): v1.17.1 2026-11-14 11:59:49 +09:00
tsconfig.json feat(V2-1b): packages/core 추출 — 공유 타입/에러/채널/유틸 분리 2026-04-08 14:39:46 +09:00
vitest.config.ts feat(keybinding): several shortcuts per action, mouse buttons, searchable picker 2026-09-21 13:41:47 +09:00