Commit Graph
367 Commits
Author SHA1 Message Date
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
SWHL 1068e68569 fix(rapidocr_openvino): Fix issue #222 2024-09-19 10:01:22 +08:00
SWHL 6b60256ee7 chore: Optimize code structure 2024-09-06 10:13:12 +08:00
dependabot[bot] 5087a41ade chore(deps): update numpy requirement in /python (#208)
Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.19.5...v2.0.1)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 21:49:06 +08:00
SWHL efa113c817 chore(python): Remove the project urls of whl packages 2024-07-11 18:17:36 +08:00
SWHL 304f773549 fix(python): Fixed issue #202 and add Shapely version limited 2024-07-11 18:08:08 +08:00
SWHL 13e0383d79 fix(python): Fixed issue #202 2024-07-11 18:06:33 +08:00
SWHL a8d558e215 fix(python): Restrict dependent package version, especially numpy versions 2024-06-28 09:57:34 +08:00
SWHL c01cc08925 refactor(rapidocr_paddle): Refactor the entire code 2024-06-28 09:40:50 +08:00
SWHL 8cae2e2590 refactor(rapidocr_openvino): Refactor the entire code 2024-06-28 09:14:54 +08:00
SWHL 1de4db0249 refactor(rapidocr_onnxruntime): Refactor the pre-processing code for the det part 2024-06-27 10:02:17 +08:00
SWHL ac5547345b refactor(rapidocr_onnxruntime): Add typing annotations of RapidOCR call 2024-06-09 17:01:58 +08:00
SWHL e7094936a9 refactor(rapidocr_onnxruntime): Add typing annotations and remove invalid code 2024-06-09 16:32:41 +08:00
SWHL 955d9078bb docs(*): Update docs path 2024-06-04 08:35:15 +08:00
SWHL 02829ef986 test(rapidocr_onnxruntime): Add two unit testings about cuda and dml 2024-05-21 20:52:17 +08:00
SWHL 35e85ef370 fix(rapidocr_onnxruntime): Fix EP_list parameter error 2024-05-21 18:21:50 +08:00
SkeathyTomas 90b799c6db fix(rapidocr_onnxruntime): fixed EP error (#183) 2024-05-21 13:59:59 +08:00
SWHL f98585952b fix(python): Add the default value of maxsize in lru_cache under python3.7 for compatibility 2024-05-21 08:18:30 +08:00
SWHL cb14cc846b style(rapidocr_onnxruntime): Code wrapping with black 2024-05-21 08:06:25 +08:00
SWHL a291ca1dcb chore(rapidocr_onnxruntime): Optim tips 2024-05-20 21:46:01 +08:00
SWHL 5891ba2142 chore(rapidocr_onnxruntime): Add logger cache to reduce print nums 2024-05-20 21:45:04 +08:00
SkeathyTomas fb23f82870 fix(rapidocr_onnxruntime): Fix dml not work issue (#180) 2024-05-20 21:06:39 +08:00
SWHL ef9202445a refactor(rapidocr_paddle): Decoupling utils.py files 2024-05-18 16:31:23 +08:00
SWHL 160914d68e refactor(rapidocr_openvino): Decoupling utils.py files 2024-05-18 16:15:18 +08:00
SWHL a6521e1910 fix(python): Update unit testing 2024-05-18 16:01:21 +08:00
Dolen b9c90ee837 fix(python): Modify the way CTCLabelDecode calculates confidence (#179) 2024-05-18 15:33:20 +08:00
SWHL 7528fa9660 chore(rapidocr_onnxruntime): Optim tips of infer_engine 2024-05-18 15:27:13 +08:00
SWHL de44841377 refactor(rapidocr_onnxruntime): Decoupling utils.py files 2024-05-18 15:12:10 +08:00
SWHL d60fe5b415 chore(rapidocr_onnxruntime): Optim tips about OrtInferSession 2024-05-17 16:34:16 +08:00
SWHL 0e1cb1814f chore(rapidocr_onnxruntime): Add friendly tips for using cuda 2024-05-16 22:17:21 +08:00
SWHL 91e40ad4c3 fix(rapidocr_onnxruntime): Optimize prompt when using DirctML 2024-05-16 22:12:42 +08:00
SWHL 7a731483a5 fix(config): Remove the default installation onnxruntime-directml restriction on Windows. 2024-05-15 22:24:38 +08:00
Ning hao 8523a2e453 fix(config): Make ONNX Runtime DirectML an optional configuration for better compatibility (#178)
This commit introduces an optional configuration for using ONNX Runtime DirectML.

DirectML can significantly improve performance on newer devices, but it has stricter requirements and may not be suitable for all users.

By making it an optional configuration, we ensure better compatibility for users with older devices or who are running the CLI version, where the GPU's potential may not be fully utilized due to single inference models.

For more information on DirectML requirements, please refer to: https://github.com/microsoft/DirectML
2024-05-15 21:43:03 +08:00