Skip to content

ai25395/FMatPix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FMatPix - A Free-Fast-NoDep-Offline Formula Ocr Tool

A free portable Formula Ocr tool supporting latex and mathml based on Texify.
You can use this on your own PC with just CPU and no need for Internet.

What's the advantage of this?

It's free,portable,offline,fast,accurate.
免费、便携、离线、快速、准确
So don't hesitate share this with your friends who suffer from paid、user-unfriendly、slow OCR tools.

How to get the .exe and use?

从这个网址选择版本下载,注意版本说明里提供了迅雷网盘链接:https://github.com/ai25395/FMatPix/releases
Download the software FMatPix.exe from the release page: https://github.com/ai25395/FMatPix/releases

Don't forget to give me a star it's very important for me!别忘了给我点个星,这对我真的很重要!

For using details you can check the release page or the help page in the software

v1.4 The latest release 2024/10/29

Batch Ocr & New History


v1.3

Multi Formulas & Multi-line Formula


v1.1 v1.2

Autocopy & History Copy


How to use the code?

1.Setup your python env according to the requirements.txt
2.Create a folder named "models", download and unzip models_texify.zip to the folder "models" from release page v1.3
3.Create a folder named "texmml", download and unzip texmml.zip to the folder "texmml" from release page v1.2
4.Just run the ocr_gui.py
I've tried my best to simplify the code and preject,so it's easy to modify the GUI and intergrate other OCR model to this.

Potential issues

1、It will consume much time if you snip a very large image.
2、Some format errors in MathML because it's tranformed from latex.I've tried to solve most of them.I suggest copying latex to mathtype directly
3、Sometimes, there can be formatting issues with curly braces.
4、Some letters or symbols cannot be recognized because not or rarely in the token vocabulary or training set.
5、If you paste a very long formula to mathtype, it will report a error.So please avoid that. If you find any other issues,contact me.I'll keep updating this if necessary.

Fequently Asked Questions

1、Support for Mac
I'm trying to find a Mac to develop and test first but there is even no a Mac I can borrow.So I'll try a cloud Mac then.
This won't take a long time because most of codes don't need to be adjusted.
2、Support for 2 monitors
I've had some tests on this feature and found it a annoying problem which contains many special situations.I'll try to use the snip tool
provided by Windows to sovle this problem more easily.Or reference some other projects?
3、Self-defined Shortcut for Snipping
I have set Alt+Q in the v1.4 for snipping which will satify most people.And probably I wont't add a self-define function,
because it'll introduce a config file which will make FMatPix.exe -> FMatPix.exe + xxx.xml. I mean there'll be an additional file.
Forgive my OCD please.

A cup of coffee for the author

It is not very easy to develop the project, so if it is helpful to you, please consider offering me a cup of coffee🥤.

About

A free portable Formula Ocr tool supporting latex and mathml

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages