Commit Graph
346 Commits
Author SHA1 Message Date
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
SWHL 7d476c70d5 (Action) Fixed rapidocr_paddle version num 2024-05-12 15:05:52 +08:00
SWHL bf40c99075 Upgrade python max version to 3.12 2024-05-12 14:56:58 +08:00
SWHL c5c2246ed1 Optim OrtInferSession 2024-05-12 14:50:19 +08:00
Ning hao 01430ed41e feat(cli): Support GPU acceleration via ONNX Runtime DirectML on Windows (#176)
* feat(cli): Support GPU acceleration via ONNX Runtime DirectML on Windows

This commit adds support for GPU acceleration in the CLI using ONNX Runtime DirectML. This allows users with compatible GPUs on Windows to leverage their hardware for faster inference.

* fix small bug
2024-05-12 10:53:19 +08:00
SWHL e4b66000b0 Add unit testing about fixed issue #170 2024-04-19 09:59:49 +08:00
HAL9000COM f602d301e5 Bug fix for converting error when processing bitmap image. (#171) 2024-04-19 09:48:21 +08:00
SWHL 794f120ec4 Remove the benchmark code 2024-04-13 10:41:48 +08:00
SWHL 182e54ef6d Fixed issue #161 2024-04-07 09:51:57 +08:00
SWHL e9f96b8380 Add support for RapidOCR class init to specify the number of threads in rapidocr_paddle 2024-03-07 10:03:29 +08:00
SWHL 26438c2129 Add support for RapidOCR class init to specify the number of threads in rapidocr_openvino 2024-03-07 09:50:28 +08:00
SWHL f3732c102e Add support for RapidOCR class init to specify the number of threads. 2024-03-07 09:41:17 +08:00
SWHL e388bd9b03 Fixed issue #158 2024-03-07 08:08:58 +08:00
SWHL 55bb974b5d Support transparent white font image rec in rapidocr_onnxruntime 2024-03-06 10:40:17 +08:00
SWHL c594ed16e3 Add infer num threads in openvino and paddle version. 2024-03-05 10:28:36 +08:00
SWHL bd2eba459f Update use_cuda parameter in config.yaml 2024-03-04 22:59:40 +08:00
SWHL 2f66907a6c Add intra_op_num_threads and inter_op_num_threads in config.yaml 2024-03-04 22:52:47 +08:00
SWHL 2caa0b083f Update LoadImage Class and support Image as input. 2024-02-28 18:21:02 +08:00
SWHL e55c3a2a37 Adapt to Pillow v9 and v10 2024-02-27 15:11:01 +08:00
SWHL b2349ae4e6 Synchronize PR #151 and set it to openvino and paddle versions. 2024-02-04 17:29:40 +08:00
SWHL c2b12e51fb Optimize logic of adding letterbox 2024-02-04 14:18:17 +08:00
LWQ2EDU 3c91804d0f add letterbox-like resize function in the python api (#151)
* add letterbox like resize function for exceeds aspect ratio in the python api

* add cli letterbox-like control for python api

* fix det result
2024-02-04 10:24:05 +08:00