LinXueyuanStdio / LaTeX_OCR_PRO

:art: 数学公式识别增强版:中英文手写印刷公式、支持初级符号推导(数据结构基于 LaTeX 抽象语法树)Math Formula OCR Pro, supports handwrite, Chinese-mixed formulas and simple symbol reasoning (based on LaTeX AST).
GNU General Public License v3.0
1.11k stars 235 forks source link

Can we use this method similarily to get the formula with color information? #57

Closed unknownnumbers closed 2 years ago

unknownnumbers commented 2 years ago

用类似的方法可以对部分符号带了颜色的公式进行处理吗? 我看到里面有灰度化。。

LinXueyuanStdio commented 2 years ago

灰度化是考虑到3通道显存不够而且训练慢(公式一般也不考虑颜色吧。。),所以砍了两个通道。有条件的话,您完全可以保留颜色信息。

unknownnumbers commented 2 years ago

好的,多谢!