Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

SnapCode 🦥: I stopped retyping code from lecture slides. One hotkey, offline, Gemma does the rest

说明与用途

SnapCode 使用 Tesseract OCR 和 Gemma 自动将讲座幻灯片中的代码复制到 Colab,单元格处理时间从 60–90 秒降至 5–15 秒。

问题

Copying code from lecture slides into Colab was slow, error‑prone, and required an internet connection.

结果

SnapCode reduced per‑cell copy time from 60–90 s to 5–15 s, achieving 100 % exact code matches on four real lecture screenshots and eliminating the need for an internet connection.

工作流

  • Press hotkey to capture region
  • Tesseract OCR extracts raw text
  • Gemma refines text (quotes, brackets, indentation)
  • Python ast verifies syntax, retry if needed
  • Copy cleaned code to clipboard (Cmd+V)

证据

Press a hotkey, drag a box around code on a lecture slide or video, then press Cmd+V. The clean, correctly indented code is already on your clipboard.

来源

SnapCode (Tesseract + Gemma): ... It matches the slide exactly.

来源

Results on 4 real lecture screenshots ... 100% exact match.

来源

My old Google Lens routine took about 60–90 seconds per cell... With SnapCode it's a hotkey and a 5–15 second wait.

来源

  • 记录日期: 2026-10-25T07:26:12.551Z