Commit Graph

152 Commits

Author SHA1 Message Date
三洋三洋
0e5c5fd706 [chore] Remove unsed files 2025-02-28 20:54:51 +08:00
三洋三洋
4d3714bb4b [chore] exclude paddleocr directory from pre-commit hooks 2025-02-28 20:01:54 +08:00
三洋三洋
3296077461 [chore] Setup project infrastructure 2025-02-28 20:01:52 +08:00
三洋三洋
a0942db712 [deps] pin transformers to 4.45.2 and sentence-transformers to 3.1.1 2025-02-01 13:00:44 +08:00
OleehyO
cee83611b5 Merge pull request #78 from OleehyO/pre_release
Change to better import dependency
2024-08-07 12:43:15 +08:00
三洋三洋
e1046ba3fa Change to better import dependency 2024-08-07 01:19:26 +08:00
OleehyO
bbc8ecf88b Merge pull request #67 from OleehyO/pre_release
Change setting name
2024-07-11 20:34:50 +08:00
三洋三洋
7438dee7ac Change setting name 2024-07-11 20:33:51 +08:00
OleehyO
be922cc952 Merge pull request #60 from OleehyO/pre_release
Pre release
2024-06-23 22:16:09 +08:00
三洋三洋
bfb1810fb0 Update README 2024-06-23 22:14:05 +08:00
三洋三洋
838febf48c Remove onnxruntime-gpu 2024-06-23 22:13:51 +08:00
OleehyO
69f53d7256 Merge pull request #59 from OleehyO/pre_release
Pre release
2024-06-22 23:56:45 +08:00
三洋三洋
6793142557 Update model config 2024-06-22 22:08:08 +08:00
三洋三洋
25f6cddf72 Update README 2024-06-22 22:00:14 +08:00
三洋三洋
cd519d8e99 Support onnx runtime 2024-06-22 22:00:05 +08:00
三洋三洋
2ae59776fa Add optimum 2024-06-22 21:49:47 +08:00
OleehyO
529fba4db6 Merge pull request #58 from OleehyO/pre_release
Add formula detection service
2024-06-17 21:26:35 +08:00
三洋三洋
d8659cd3a9 Add formula detection service 2024-06-17 21:23:55 +08:00
OleehyO
18dc6497ae Merge pull request #56 from OleehyO/pre_release
Add docker link
2024-06-11 13:22:17 +08:00
三洋三洋
c849728ee7 Add docker link 2024-06-11 13:20:32 +08:00
三洋三洋
a1c2b5b1ef Update server.py
1. Change the default host address to 0.0.0.0.
2. Convert the output to KaTeX.
2024-06-07 12:26:24 +00:00
三洋三洋
6fbd285658 Update README 2024-06-07 06:54:23 +00:00
三洋三洋
9f4058c64b Add Apache2.0 license 2024-06-06 13:06:16 +00:00
三洋三洋
236489ba2a Add cover.png 2024-06-06 13:06:16 +00:00
三洋三洋
2920b753a8 Modify the names of options in the web.py
Formula only       -> Formula recognition
Text formula mixed -> Paragraph recognition

Improved display during mixed inference
2024-06-06 13:06:16 +00:00
三洋三洋
dbbec511ef Refine mix_inference
1. Add the formula number back to the isolated formula and merge multiple tag.
2. remove bold effect from inline formuals
3. change split environment into aligned
2024-06-06 13:06:11 +00:00
三洋三洋
29e626c984 Bugfix: to_katex.py
1. Added `change_all` function to fix a bug where some LaTeX formulas with the same wrapper were causing issues.
2. Removed some unnecessary formatting commands.

Bugfix: to_katex.py
2024-06-06 08:25:50 +00:00
三洋三洋
848726e6e2 Update 2024-05-28 09:51:53 +00:00
三洋三洋
e66f237cfd Added releasing file 2024-05-28 07:50:09 +00:00
三洋三洋
f509b8c94a Change the model configuration to trocr 2024-05-28 07:50:09 +00:00
三洋三洋
2ac159bfa2 Using paddleocr with onnxruntime
Deleted the code for test time.
2024-05-28 07:50:09 +00:00
三洋三洋
226c1e1f76 Added mixed recognition
change suryaocr to paddleocr
2024-05-28 07:50:08 +00:00
三洋三洋
a24ccd53ae Added ONNX file for PaddleOCR model 2024-05-28 07:50:08 +00:00
三洋三洋
d3451d0ce7 Update .gitignore 2024-05-28 07:50:08 +00:00
三洋三洋
e2bf22dac8 Added code for PaddleOCR inference 2024-05-28 07:50:08 +00:00
三洋三洋
5c9cff2125 Eliminated dependency on paddleocr
Change to trocr
2024-05-28 07:50:08 +00:00
三洋三洋
cc602f5a82 update 2024-05-28 07:50:08 +00:00
OleehyO
19827f1837 bugfix: ocr_aug.py
Change "lhy_custom" in ink_swap_color to "random"
2024-05-28 07:49:55 +00:00
三洋三洋
0a51bde1c5 bugfix: missing filter_fn and inference/train transform 2024-05-12 07:49:04 +00:00
三洋三洋
249a4d5a5f update 2024-05-12 07:47:35 +00:00
三洋三洋
720795e478 update 2024-05-10 03:48:31 +00:00
TonyLee1256
fac1cfdcda Update requirements.txt 2024-05-09 00:23:32 +08:00
TonyLee1256
82f3eb67b7 Update mix_inference.py
替换文本OCR模型为paddleocr
2024-05-09 00:23:02 +08:00
TonyLee1256
30fbc6dc2d Update inference.py
替换文本OCR模型为paddleocr
2024-05-09 00:22:01 +08:00
TonyLee1256
b869122dc6 Update inference.py
增加了计时功能
2024-05-09 00:20:32 +08:00
TonyLee1256
eaed8d88ca Update infer_det.py
增加使用gpu进行onnx模型推理的功能
2024-05-09 00:19:39 +08:00
三洋三洋
5d95d2e65c bugfix 2024-05-08 14:34:01 +00:00
三洋三洋
ad84fcfce8 Added Language option in mixed mode 2024-05-07 07:44:24 +00:00
三洋三洋
ec90b2fdb9 Update README 2024-05-07 07:30:29 +00:00
三洋三洋
ff1872d067 bugfix 2024-05-07 07:11:34 +00:00