Extract text from images using macOS LiveText OCR. Better Chinese support than Tesseract.
- 🖼️ Extract text from images using macOS native LiveText
- 🇨🇳 Excellent Chinese/CJK support (much better than Tesseract)
- 💾 Smart caching - re-processing only when files change
- 🔌 Drop-in replacement for Text Extractor plugin
- ⚡ Works with Omnisearch
- 📱 Mobile support - Read cached text on mobile devices
- Open Shortcuts app
- Create new shortcut named
LiveTextOCR - Add these actions:
- Receive Images from Share Sheet, Quick Actions
- If there's no input: Continue
- Extract text from → Shortcut Input
- Combine Text from Image with New Lines
- Stop and output Combined Text
- If there's nowhere to output: Copy to Clipboard
- Receive Images from Share Sheet, Quick Actions
- Important: In Details tab (right panel), check ✅ Provide Output
- Test with an image
Manual:
- Download
main.js,manifest.json,styles.cssfrom releases - Copy to
<vault>/.obsidian/plugins/livetext-extractor/ - Reload Obsidian, enable in settings
Development:
cd <vault>/.obsidian/plugins/
git clone https://github.com/MiracleXYZ/obsidian-livetext-extractor.git
cd obsidian-livetext-extractor
npm install && npm run buildDesktop (macOS): Open image → Cmd+P → "Extract text from current image" → text copied to clipboard
Mobile: Can read cached text extracted on desktop. Omnisearch will find images indexed on desktop.
With Omnisearch: Install this plugin and disable Text Extractor. Omnisearch auto-detects!
API: See docs/API.md
const api = (app as any).plugins?.plugins?.['text-extractor']?.api;
const text = await api.extractText(imageFile); // Returns cached text on mobile- Shortcut Name: Shortcut to call (default:
LiveTextOCR) - Enable Cache: Cache results (recommended)
- Max Concurrent Tasks: 1-5 (default: 1 to prevent system lag)
- Task Delay: 0-2000ms (default: 300ms, increase if Omnisearch causes issues)
Troubleshooting:
- "Shortcut not found" → Create shortcut named
LiveTextOCR - Slow/lag with Omnisearch → Set concurrent to 1, delay to 500-1000ms
- No text → Test:
shortcuts run LiveTextOCR --input-path image.png
Supported: JPG, PNG, GIF, BMP, TIFF, WebP, HEIC
npm install && npm run build # Setup
npm run dev # Watch modeSee docs/ for details.
MIT