← Open Source
RQLuo

MixTeX-Latex-OCR

MixTeX multimodal LaTeX, ZhEn, and, Table OCR. It performs efficient CPU-based inference in a local offline on Windows.

ApplicationsContent creationPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.64k
Stars
97
Forks
+2
This week
8
Contributors
Created 2024-07-27 · Updated 2026-10-13 · #9802 today
Top developers
RQLuoenxi06zHElEARN

RQLuo/MixTeX-Latex-OCR is ranked 9,802 with 1,640 stars.

Same-category comparison

RQLuo/MixTeX-Latex-OCR is ranked 9,802 among these 8 peers; ariacom/Seal-Report is ranked 9,803.

Same-category comparison
NameRankMetrics
davialabs/davia9,762
Language:
TypeScript
Stars:
1,655
Forks:
122
Description:
Interactive, editable docs designed for coding agents.
CyberPunkMetalHead/Binance-News-Sentiment-Bot9,770
Language:
Python
Stars:
1,653
Forks:
283
Description:
This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds. If you like this project consider donating though the Brave browser to allow me to continuously improve the script.
huggingface/aisheets9,773
Language:
TypeScript
Stars:
1,652
Forks:
141
Description:
Build, enrich, and transform datasets using AI models with no code.
Jeffser/Alpaca9,776
Language:
Python
Stars:
1,651
Forks:
148
Description:
🦙 Local and online AI hub.
ariacom/Seal-Report9,803
Language:
C#
Stars:
1,640
Forks:
508
Description:
Database Reporting Tool and Tasks (. Net).
Lucchetto/SuperImage9,807
Language:
Kotlin
Stars:
1,638
Forks:
114
Description:
Sharpen your low-resolution pictures with the power of AI upscaling.
Simpleyyt/ai-manus9,809
Language:
Python
Stars:
1,638
Forks:
409
Description:
AI Manus is a general-purpose AI Agent system that supports running various tools and operations in a sandbox environment.
altryne/chatGPT-telegram-bot9,811
Language:
Python
Stars:
1,637
Forks:
217
Description:
This is a very early attempt at having chatGPT work within a telegram bot.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryApplications
SubcategoryContent creation
KeywordsLocalAI, OCR
Stars1,640
Forks97
Contributors8
Created date2024-07-27
Updated date2026-10-13
Stars in 1 day0
Stars in 7 days2
Rank9,802
Previous rank9,837
Rank change35
7-day stars rank7,974
Previous 7-day stars rank8,016
7-day stars rank change42
Total stars rank7,515
Previous total stars rank7,510
Total stars rank change-5
CountryChina
README summary

MixTeX - Multimodal LaTeX OCR with CPU Inference Online Demo: MixTeX is an innovative multimodal LaTeX recognition mini-program, independently developed by our team. It performs efficient CPU-based inference in a local offline environment. Whether it's LaTeX formulas, tables, or mixed text, MixTeX can easily recognize them all, supporting both Chinese and English processing. Thanks to powerful technical support and optimized design, MixTeX can run efficiently without GPU resources, suitable for any Windows computer, greatly facilitating user experience. Source code

setup: *Make sure that you have read the user agreement before starting. Build the application with PyInstaller: 6. If possible, could everyone please submit the packaged programs from other platforms to GitHub? Key Features **LaTeX Formula Recognition**: Accurately recognizes complex LaTeX mathematical formulas, ensuring mathematical expression accuracy. **Table Recognition**: Efficiently processes and recognizes various tables, generating corresponding LaTeX table code. **Mixed Text Recognition**: Simultaneously processes text containing words, formulas, and tables, guaranteeing completeness and accuracy of recognition results. **Bilingual Support

**: Whether Chinese or English, MixTeX achieves high-precision recognition, meeting needs in different language environments. Technical Characteristics **Local Offline Inference**: No internet connection required, ensuring data privacy and security, suitable for high-confidentiality user scenarios. **Lightweight Design**: The program startup file is only about 50 MB, facilitating quick deployment and startup. **Efficient Operation**: Although the model file size is 300 MB, causing a slightly slower startup, once loaded, it runs extremely fast, ensuring a smooth user experience. **No GPU Required

**: Runs efficiently on CPU, suitable for all Windows computers without the need for high-end hardware support. **Clipboard Image Recognition**: Users can enable the clipboard function by pressing and copy the image to be recognized to the clipboard. **Screenshot Recognition**: Use the built-in Windows screenshot tool or the screenshot key on the keyboard to capture and directly recognize the screenshot content. User As a permanently free software, MixTeX promises continuous optimization while maintaining local offline operation, with no advertisements

, providing the best user experience. Demo MixTeX excels in recognizing complex text, with particularly good performance in English recognition and comparable results for Chinese. The following image demonstrates MixTeX's recognition capabilities for complex text: (Recommended Image size: 400 x 500) Environment Requirements MixTeX uses LaTeX environment for code conversion. We recommend the following LaTeX configuration: Changelog ~~During usage, you may encounter the following warning message: ~~ v1. 1 [Resolved] **Critical**: Unable to copy files while running the software, and copying files

caused warnings. 2 [Resolved] **Extreme**: Some users' monitors are too advanced, with non-RGB colors, causing the software to be unusable. 2 [Optimization] Added data collection function, fine-tuned 300 real small samples, optimized curly bracket and table recognition. More tables and formulas have been added for pre-training, including the formulas provided by @github. 2 [Upgrade] Synthesized handwriting dataset, fine-tuned 100 real manuscripts, retrained the model, and partially supported handwritten text mixed formula. 3 [Upgrade] Fine-tuned 150

real manuscripts + 300, and supported handwritten text mixed formula and black background. 4 [Upgrade] Fine-tuned 500 real, and supported

Frequently asked questions

How many stars and forks are recorded?

RQLuo/MixTeX-Latex-OCR has 1,640 stars and 97 forks.

What is the repository rank?

RQLuo/MixTeX-Latex-OCR is ranked 9,802.

What language and category are recorded?

RQLuo/MixTeX-Latex-OCR has 1,640 stars, uses Python and belongs to Applications.

Which repository is closest in rank?

RQLuo/MixTeX-Latex-OCR is compared with ariacom/Seal-Report, ranked 9,803 with 1,640 stars.

README

MixTeX - Multimodal LaTeX OCR with CPU Inference

Online Demo: https://mineai.top/

MixTeX is an innovative multimodal LaTeX recognition mini-program, independently developed by our team. It performs efficient CPU-based inference in a local offline environment. Whether it's LaTeX formulas, tables, or mixed text, MixTeX can easily recognize them all, supporting both Chinese and English processing. Thanks to powerful technical support and optimized design, MixTeX can run efficiently without GPU resources, suitable for any Windows computer, greatly facilitating user experience.

Source code setup:

Make sure that you have read the user agreement before starting.

  1. Navigate to the mixtexgui directory: cd mixtexgui
  2. Create a new Conda environment: conda create -n mixtex python=3.10.14
  3. Activate the environment: conda activate mixtex
  4. Run pip install -r requirements.txt
  5. Build the application with PyInstaller: pyinstaller mixtex_ui.spec
  6. If possible, could everyone please submit the packaged programs from other platforms to GitHub? Thank you for your support!

Key Features

  • LaTeX Formula Recognition: Accurately recognizes complex LaTeX mathematical formulas, ensuring mathematical expression accuracy.
  • Table Recognition: Efficiently processes and recognizes various tables, generating corresponding LaTeX table code.
  • Mixed Text Recognition: Simultaneously processes text containing words, formulas, and tables, guaranteeing completeness and accuracy of recognition results.
  • Bilingual Support: Whether Chinese or English, MixTeX achieves high-precision recognition, meeting needs in different language environments.

Technical Characteristics

  • Local Offline Inference: No internet connection required, ensuring data privacy and security, suitable for high-confidentiality user scenarios.
  • Lightweight Design: The program startup file is only about 50 MB, facilitating quick deployment and startup.
  • Efficient Operation: Although the model file size is 300 MB, causing a slightly slower startup, once loaded, it runs extremely fast, ensuring a smooth user experience.
  • No GPU Required: Runs efficiently on CPU, suitable for all Windows computers without the need for high-end hardware support.

User Guide

  1. Clipboard Image Recognition: Users can enable the clipboard function by pressing Win+V and copy the image to be recognized to the clipboard.
  2. Screenshot Recognition: Use the built-in Windows screenshot tool or the screenshot key on the keyboard to capture and directly recognize the screenshot content.

User

As a permanently free software, MixTeX promises continuous optimization while maintaining local offline operation, with no advertisements, providing the best user experience.

Demo

MixTeX excels in recognizing complex text, with particularly good performance in English recognition and comparable results for Chinese. The following image demonstrates MixTeX's recognition capabilities for complex text: (Recommended Image size: 400 x 500)

Environment Requirements

MixTeX uses LaTeX environment for code conversion. We recommend the following LaTeX configuration:

\documentclass{ctexart}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{stmaryrd}
\usepackage{color}

Changelog

During usage, you may encounter the following warning message: Error during OCR: Invalid image type. Expected either PIL.Image.Image, numpy.ndarray, torch.Tensor, tf.Tensor or jax.ndarray, but got .

v1.0.1 [Resolved] Critical: Unable to copy files while running the software, and copying files caused warnings.

Consistent warning message: Error during OCR: Unable to infer channel dimension format.

v1.0.2 [Resolved] Extreme: Some users' monitors are too advanced, with non-RGB colors, causing the software to be unusable.

v1.1.2 [Optimization] Added data collection function, fine-tuned 300 real small samples, optimized curly bracket and table recognition. More tables and formulas have been added for pre-training, including the formulas provided by @github.com/ZLab511

v2.1.2 [Upgrade] Synthesized handwriting dataset, fine-tuned 100 real manuscripts, retrained the model, and partially supported handwritten text mixed formula.

v2.2.3 [Upgrade] Fine-tuned 150 real manuscripts + 300, and supported handwritten text mixed formula and black background.

v3.2.4 [Upgrade] Fine-tuned 500 real, and supported multiple choice questions ocr, In terms of software, we support pressing F2 after clicking the icon to pause recognition, and pressing F2 again to start recognition. Improved the escaping of multi-line formulas and in-text formulas into $$ wrappers, and improved data collection.

Limitations

Currently, MixTeX only supports recognition of clear printed fonts for Chinese and English mixed formulas and relatively simple tables. We plan to expand our capabilities in future updates:

  • Support for handwritten formulas and text recognition
  • Multi-language support
  • Complex table recognition

It's important to note that our model's training dataset is largely synthetic and generated, which results in somewhat rough, uniform, and limited data. In future iterations, we will gradually enhance and expand our training dataset with real-world scenarios. This improvement will lead to better recognition accuracy and increased robustness of the system.

We appreciate your understanding as we continue to develop and refine MixTeX. Your feedback and patience are invaluable as we work towards creating a more comprehensive and versatile tool.

Conclusion

MixTeX is committed to providing users with the most convenient and efficient multimodal LaTeX recognition tool. We look forward to your use and feedback. If you have any suggestions or encounter any issues with MixTeX, please feel free to contact us. Let's work together to create the best LaTeX recognition tool!

Nearby in the ranking
Similar items