Commit Graph
399 Commits
Author SHA1 Message Date
SWHL 844b2e6cbf chore: update files 2025-02-08 10:16:00 +08:00
SWHL fc395a520a chore: update files 2025-02-08 09:52:34 +08:00
Joker1212 9a8a4a3916 suport torch inference (#320)
* feat: add rapidocr_torch inference

* ci: fix push workflow
2025-02-08 09:52:34 +08:00
SWHL 1b2c862bbe chore: update files 2025-02-06 11:53:21 +08:00
SWHL 12ea82affe chore: update files 2025-02-06 09:50:29 +08:00
SWHL 0bca33c55e chore: update files 2025-02-05 09:43:51 +08:00
SWHL 026d1ec888 chore: update files 2025-01-23 19:18:50 +08:00
SWHL 260b2835d6 chore: update files 2025-01-23 14:04:18 +08:00
SWHL b008fbaa48 chore: update files 2025-01-23 10:04:26 +08:00
SWHL a86fb73811 chore: update files 2025-01-21 22:42:12 +08:00
SWHL ebf50b00ba chore: update files 2025-01-21 10:00:53 +08:00
SWHL 687a46a722 chore: update files 2025-01-20 23:05:09 +08:00
SWHL 1518e72235 chore: update files 2025-01-20 21:18:56 +08:00
SWHL 8b81b148b1 chore: update files 2025-01-20 20:54:29 +08:00
SWHL c2b409f023 chore: update files 2025-01-19 22:01:25 +08:00
SWHL 94576e5e4c chore: optimize code 2025-01-17 09:36:38 +08:00
Joker1212 f699fdd3a9 feat: support det mean and std config (#312) 2025-01-11 17:11:28 +08:00
SWHL f53c64007c feat(rapidocr_api): add uvicorn timestamp 2025-01-01 16:41:30 +08:00
weijh 8913c7ac1b feat(rapidocr_api): 为uvicorn日志添加时间戳 (#309)
* Update README.md

* uvicorn 日志加时间戳

* Update README.md

* add vim for edit files in container

* Create readme.md

* Update readme.md

* Update README.md

* Delete python/rapidocr_paddle/ch_ppocr_det/readme.md

* Create readme.md

* Update readme.md

* Update readme.md
2025-01-01 16:06:00 +08:00
SWHL 6bcabddbca fix(rapidocr_openvino): merge PR #293 #294 2024-12-12 21:58:48 +08:00
SWHL 777f9f0feb fix(rapidocr_paddle): merge PR #293 #294 2024-12-12 21:42:18 +08:00
SWHL 7f5594bbca fix(rapidocr_onnxruntime): merged PR #294 2024-12-12 21:32:11 +08:00
Joker1212 fef40a510d fix(rapidocr_onnxruntime): ensure 4 point for char box rec (#294) 2024-12-12 09:37:59 +08:00
jesse01andjesse01 0d70e86a08 feat(rapidocr_onnxruntime): 优化单字符坐标及返回单字符置信度 (#293)
* 1、utils.py:优化单字符坐标计算。根据CTC解码特点,增加每个字符长度列表作为判断条件,一般非中文字符2-3个解码宽度,中文3-4个解码宽度,当某个字符与上一字符距离大于4个解码宽度,表示中间有空白,此时进行字段拆分,这样可以减少文字间空白对坐标计算的影响;同时返回每个字符值信度,以方便应用使用

2、cal_rec_boxes/main.py:
 配合返回单字符值信度列表的修改
 修改计算单字符宽度的分母为总字符数减1,与分母一致,这样计算出的值更加准确

 3.main.py:
 修复主程序没有传递命令行参数的问题

* 优化文本行检测优化,当limit_type为max,根据图片大小动态设置limit_side_len,以减少漏检

---------

Co-authored-by: jesse01 <jesse01.163.com>
2024-12-12 09:31:58 +08:00
SWHL 5d0d35fc4e fix(rapidocr_paddle): fixed issue #288 2024-12-09 09:30:40 +08:00
SWHL 5f9491676d fix(rapidocr_openvino): fixed issue #288 2024-12-09 09:30:09 +08:00
SWHL 3da032a00e fix(rapidocr_onnxruntime): fixed issue #288 2024-12-09 09:28:45 +08:00
SWHL c7c8bfb305 feat(rapidocr_paddle): support en char rec 2024-12-04 08:12:16 +08:00
SWHL f16bd16283 chore(rapidocr_onnxruntime): fix error of getting version number 2024-12-03 22:41:38 +08:00
SWHL 9f8ece4471 chore(rapidocr_openvino): fixed get_pypi_latest_version error 2024-12-03 22:36:47 +08:00
SWHL ea003db3d6 feat(rapidocr_openvino): support en char rec 2024-12-03 22:22:27 +08:00
SWHL cababcf25c feat(rapidocr_openvino): support en char rec 2024-12-03 22:15:25 +08:00
Joker1212 01a5a65952 feat(rapidocr_onnxruntime): support en char rec (#272)
* feat: sup en char rec

* test: add en char rec test
2024-12-03 09:30:54 +08:00
SWHL 62bc4871a0 feat(rapidocr_openvino): support to char rec and bump to v1.4.0 2024-11-21 15:08:50 +08:00
SWHL 3e13f481a1 feat(rapidocr_paddle): support to char rec and bump to v1.4.0 2024-11-21 10:00:12 +08:00
SWHL 33ba2a9a65 test: update unit tests for different platform 2024-11-19 22:42:06 +08:00
SWHL 030b17be1f test: update unit tests for different platform 2024-11-19 22:40:17 +08:00
SWHL df36c69820 chore: optimze char rec (#260)
* chore: format code

* chore: format code

* test: update unit tests for different platform

* feat(rapidocr_onnxruntime): optimize code

* feat(rapidocr_onnxruntime): add --return_word_box params of CLI

* chore: update demo

* feat(rapidocr_onnxruntime): update vis of return_word_box
2024-11-19 22:27:18 +08:00
xinyi 2ac3c35a36 feat: char rec(单字识别) (#254)
* feat: add word spilit for ocr

* chore: rm unnecessary change

* test: fix test error
2024-11-13 09:23:22 +08:00
SWHL 2be4feff82 fix(python): fix incorrect usage of the exists function 2024-11-13 08:25:06 +08:00
Pumpkinor f7978c650b chore(rapidocr_onnxruntime): change read_yaml order (#251)
fisrt check the input args 
if the param named 'config_path'  exists, use 'config_path' first.
if it is not exists, use the default one named 'DEFAULT_CFG_PATH'
2024-11-13 08:21:20 +08:00
SWHL ce06654ac0 fix(rapidocr_onnxruntime): fix normalize value of det (#246) 2024-10-31 09:17:57 +08:00
SWHL 4ab68d6299 fix(rapidocr_paddle): Add max_side_len and min_side_len parameters 2024-10-18 10:05:08 +08:00
SWHL 9cb7708737 fix(rapidocr_openvino): Add max_side_len and min_side_len parameters 2024-10-18 09:46:46 +08:00
SWHL da711e89e7 feat(rapidocr_openvino): Add limit of max_side_len and min_side_len 2024-10-18 09:44:05 +08:00
SWHL c3504c2f7d chore: Compatible with python 3.7 2024-10-17 22:51:03 +08:00
SWHL 5e1b5ef196 chore: Compatible with python 3.7 2024-10-17 22:47:19 +08:00
SWHL fd520ffdad Fix issue 232 (#235)
* fix(rapidocr_onnxruntime): Fixed padding_h variable before assignment

* feat(rapidocr_onnxruntime): Add resize function

* feat(rapidocr_onnxruntime): Add limit of max_side_len and min_side_len

* tests: Add __init__
2024-10-17 22:24:31 +08:00
SWHL 81cea705a8 chore(rapidocr_openvino/paddle): Optim code 2024-09-19 10:13:04 +08:00
SWHL 64da0dd455 fix(rapidocr_paddle): Fix issue #222 2024-09-19 10:06:59 +08:00