Skip to content

zclk9000/texoocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TexoOCR

A macOS menu bar app that captures formula screenshots and converts them to LaTeX instantly.

Features

  • One-click capture — Press ⌘⇧L to screenshot a formula, LaTeX is copied to clipboard
  • Import images — Drag or open image files for recognition
  • 100% offline — All processing happens on-device via ONNX Runtime
  • Editable history — Browse past results with image preview, rendered formula, and editable LaTeX source
  • Multiple copy formats — Plain LaTeX, $...$, $$...$$, \(...\)
  • Dark & light backgrounds — Auto-detects and inverts dark background images
  • Bilingual — Chinese & English interface

Requirements

  • macOS 14.0+
  • Apple Silicon or Intel Mac

Build from Source

  1. Clone this repository
  2. Open TexoOCR.xcodeproj in Xcode 15+
  3. Wait for Swift Package Manager to resolve dependencies (ONNX Runtime)
  4. Build and run (⌘R)

Note: You need to grant Accessibility permission for the screen capture hotkey to work.

Download

Available on the Mac App Store (link coming soon).

Acknowledgments

  • alephpi / Texo — Formula recognition model (LGPL, used with permission)
  • Texo OCR Web — Online formula recognition service by the FormulaNet author
  • ONNX Runtime — On-device inference engine (MIT)
  • KaTeX — LaTeX rendering (MIT)

Privacy

TexoOCR does not collect, transmit, or store any personal data. All processing happens entirely on your device. Privacy Policy

License

App source code: MIT License

FormulaNet model weights: LGPL (granted by the author for this project)

Contact

zclk9000@me.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages