Solid, 2D gradient & harmonic inpainting
Instead of flat patches, ScreenshotBackgroundEraser picks .solid, closed-form 2D .gradient planes, or .complex harmonic diffusion while enforcing readable foreground contrast and weight.
Meaningful version A/B testing requires holding the external LLM constant. Running the identical qwen-plus model across 1.0.1 and 1.0.2—alongside 1.0.2 on-device Apple Translation—verifies all 5 contrast fixes with 100/100 zero-error output while proving that wall-time swings come from cloud RTT (Apple Offline finishes in 408.9 ms).
Every commit maps directly to failures found in the 100-image corpus and live pin usage.
Chrome-rendered 10 UI themes × 5 resolutions × both directions (100 SHA-256-frozen PNGs) scored 90/100 in 1.0.1 while pinpointing exact defects:
Fixed an AppKit constraint re-entry crash during fade-out, kept adjacent controls in separate blocks, and skipped blocks already in the target language.
ImageTextRecognizer + ImageTextIconSanitizer): separates blocks cleanly across surface transitions and strips stray icon fragments.ScreenshotBackgroundEraser): selects .solid, 2D .gradient plane, or harmonic diffusion .complex inpainting with contrast-ratio foreground checks.ScreenshotTranslationTerminology): protects multi-word names like Claude 3.7 Sonnet and GPT-4o mini via ZXB<n>Q placeholders plus a short UI micro-dictionary.CALayer smooth zoom (PinnedScreenshotPresenter): eliminates frame drops while zooming translated pins.We pinned the exact same qwen-plus model used in 1.0.1 and benchmarked it alongside on-device Apple Translation (TranslationSession) across all 100 frozen screenshots:
Zero API failures (100/100 rendered); Billing #048 and all 5 baseline contrast defects fixed (395/400 semantic). Calendar #062–#070 still outputs Recent Activities, isolating model choice from app changes.
Zero network, 51.0 ms inference P50, 6.6× faster than Cloud at P50 (P95 962.5 ms); trade-off is literal phrasing without screen context (Accessibility, Billing, Recent activities).
Holding qwen-plus constant across 1.0.1 and 1.0.2 separates Mac-side compute from external API RTT.
qwen-plus shows 1.0.2 local decode+OCR actually sped up 12.1% at P50 (22.6% at P95), and 3-tier erasure adds only 44.6 ms. The 2.70 s Cloud P50 is 86.3% external API RTT (2,329.3 ms). Switching the identical 1.0.2 build to Apple Offline finishes in 408.9 ms (6.6× faster), confirming zero local slowdown.Inspect each UI theme to separate Framecho renderer gains from LLM wording behavior.
Same-model qwen-plus delivered 100/100 zero-error outputs (91/100 pass); Apple Offline finishes at 408.9 ms P50 (80/100), 6.6× faster than Cloud.
| Theme / Direction | Images | 1.0.1 qwen-plus | 1.0.2 qwen-plus | 1.0.2 Apple | 3-Way Audit Summary |
|---|---|---|---|---|---|
| English → Simplified Chinese | 50 | 50 | 50 | 39 | 50/50 complete on qwen-plus (100% output); Apple literal misses on Billing/Accessibility + #001 |
| Simplified Chinese → English | 50 | 40 | 41 | 41 | Both 1.0.2 runs beat 1.0.1 (40 → 41/50); share 4 dark-card dim images + 5 qwen-plus Calendar misses |
| 01 · Backups | 10 | 10 | 10 | 9 | Cloud 10/10; Apple 9/9 after #001 cold start |
| 02 · Security | 10 | 8 | 9 | 9 | #018, #020 fixed in both engines; #016/2 thin text dim |
| 03 · Delivery | 10 | 10 | 9 | 9 | Both engines leave #028/1 dim on dark bar |
| 04 · Storage | 10 | 10 | 10 | 10 | 10/10 complete on both engines |
| 05 · Billing | 10 | 9 | 10 | 5 | Same-model 1.0.2 heals #048 to 10/10; Apple literal '开具发票' misses 5 |
| 06 · Team chat | 10 | 10 | 10 | 10 | 10/10 complete on both engines |
| 07 · Calendar | 10 | 5 | 5 | 5 | Same qwen-plus outputs Recent Activities on all 5 ZH→EN (5/10), proving model dependency |
| 08 · Camera | 10 | 8 | 8 | 8 | #072, #078 fixed in both; both flag #076 & #080 thin dark strokes |
| 09 · Accessibility | 10 | 10 | 10 | 5 | Same-model qwen-plus passes 10/10; Apple literal OS terms miss 5 |
| 10 · Downloads | 10 | 10 | 10 | 10 | 10/10 complete on both engines |
| Total (100 Images / 400 Items) | 100 | 90 | 91 | 80 | Same-model Cloud 91/100 (100% output) · Apple Offline 408.9 ms P50 |
Making translated text look native to the screenshot requires sub-pixel care beyond text translation.
Instead of flat patches, ScreenshotBackgroundEraser picks .solid, closed-form 2D .gradient planes, or .complex harmonic diffusion while enforcing readable foreground contrast and weight.
Strips adjacent icon artifacts in OCR and locks multi-word names like Claude 3.7 Sonnet via ZXB<n>Q placeholders alongside a short-UI micro-dictionary across both Cloud and Apple paths.
Translated pins act like crisp native floating cards: smooth CALayer VSync zoom, instant drag repositioning, and double-click to copy & dismiss.
Framecho never sends screenshot images to vision servers. OCR, icon trimming, 3-tier erasure, and layout run 100% locally; only short plain-text strings go to offline Apple Translation (408.9 ms) or your own configured API key.
Guaranteed in code: background sampling, font reconstruction, and icon shielding run purely on-device.
Run Apple Translation completely offline in 409 ms or connect directly to your own OpenAI-compatible key with no Framecho relay.
Protected by check-screenshot-translation, check-screenshot-terminology, check-pinned-geometry, and check-text-recognition.
Controlled same-model data gives 1.0.3 unambiguous priorities.
Billing as '开具发票' (5), Calendar '近期活动' as Recent activities (5), and Accessibility / Reduce motion literally as '易接近 / 减少运动' (5), plus #001 cold-start notInstalled.2026-11-27 18:40, 1.0.2 qwen-plus 2026-11-28 22:13, 1.0.2 Apple 2026-11-28 21:33 (UTC+9).qwen-plus, and 1.0.2 Offline used macOS TranslationSession.judged = 400/400).Screenshot capture, markup, local Auto Redaction, and dual-engine Screenshot Translation are built into Framecho—zero image pixels leave your Mac.