소스 정보
- 저장소
- QianJinGuo/wiki
- 최근 소스 활동
- 2026년 8월 12일 02:26
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/QianJinGuo/wiki --skill macos-vision-ocr명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
精选高价值 RSS feeds 扫描,输出到 raw/rss-inbox/ 暂存区。只保留有独立知识深度的 feed(非 digest 类),不再自动入库。包含 rss-inbox-curl-recovery.py 绕过 blogwatcher read-state 漏抓的兜底。
Meta-orchestrator that wires web-content-reviewer, llm-wiki, and wiki-evolver into a single four-phase knowledge pipeline (Triage → Gate → Store → Evolve). Use as the single entry point for all knowledge base operations. Includes a 6-URL-validated user-pasted WeChat URL fast path, three-axis dedup decision matrix (NEW/MERGE/DEDUP), orphan-raw detection protocol, and sibling-subagent race V7 evidence, and a two-variant V6 mid-write fix for matching vs different-slug duplicates.
从 Gmail 中提取 TLDR AI 等 newsletter 的链接,写入 raw/email-inbox/candidates.md,供后续 inbox-screener 评分。只做链接不做评分,与 inbox-screener 配合使用。
SOC 직업 분류 기준
SKILL.md 표시 중
| name | macos-vision-ocr |
| description | Vision OCR on macOS for images, screenshots, figure panels. |
| version | 1.0 |
| author | hermes |
| tags | ["ocr","vision","macos","swift","chinese","screenshots","transcription"] |
| category | devops |
Transcribe all text from an image (not a PDF): screenshots, 小红书/微信 carousel posts (轮播图), figure panels, memes, scanned crops — especially Chinese + English mixed content. The macOS Vision framework (VNRecognizeTextRequest) is the best native Chinese OCR on macOS (far better than Tesseract); this is the user's preferred fallback when vision_analyze is unavailable or the result needs verification.
For PDFs, see the (user-owned) pdf-text-extraction skill — adjacent territory.
Convert WebP → PNG (macOS 26 sips handles webp):
sips -s format png img.webp --out img.png
Run the OCR script:
swift scripts/ocr.swift img.png # normal
swift scripts/ocr.swift img.png nocorr # garbled/vertical text: disable language correction
Output is sorted top-to-bottom with normalized bounding boxes. nocorr + topCandidates reveal raw glyphs when language correction mangles single characters.
Upscale small text — Vision accuracy collapses below ~20px glyphs. Re-OCR at 2x, then 3x:
sips -z <2xH> <2xW> img.png --out img_2x.png
Text that OCRs identically across 1x/2x/3x passes is trustworthy; text that stays garbled across scales is probably stylized/rotated.
Crop-then-upscale for tiny details (model IDs, signatures, superscripts, footnotes): PIL-crop the region, resize ×8–10 with LANCZOS, OCR the crop:
from PIL import Image
im = Image.open('img.png')
c = im.crop((x0, y0, x1, y1)).resize(((x1-x0)*10, (y1-y0)*10), Image.LANCZOS)
c.save('crop.png')
Vertical / rotated text: crop the strip, save 90° and 270° rotations, OCR each with nocorr. Vertical Chinese is read as Latin garbage by default ("nal nunbor / suitingn / hindivid") — rotating + disabling correction is the fix.
Vision boundingBox y is measured from the BOTTOM-left (Quartz convention: 0 = bottom, 1 = top). PIL Image.crop((left, top, right, bottom)) and sips crops are top-origin. Convert with:
y_from_top = 1 - y_vision
Getting this backwards silently crops the WRONG HALF of the image → "crop found nothing / found the wrong text" loops. ALWAYS convert before mapping OCR results onto crop coordinates. Also: sips -c H W --cropOffset y x offset semantics are confusing — prefer PIL Image.crop().
[?] — do not invent a reading. OCR noise on small glyphs is expected (e.g. "Soqpraty 6onpany" → AI Security Company).scripts/ocr.swift — ready-to-run Vision OCR script (zh-Hans + en-US, sorted output, optional nocorr mode).references/vision-image-ocr.md — worked example (CoT paper carousel), noise patterns, coordinate-trap detail.