Commit Graph
39 Commits
Author SHA1 Message Date
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 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 182e54ef6d Fixed issue #161 2024-04-07 09:51:57 +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 55bb974b5d Support transparent white font image rec in rapidocr_onnxruntime 2024-03-06 10:40:17 +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 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
SWHL f6865413ac Optimize the func logic of the python version. 2023-12-28 09:55:15 +08:00
SWHL 2ef1857217 Fixed issue #133 2023-10-25 18:58:05 +08:00
SWHL 9551d8bb34 Add to support visisual result under CLI 2023-09-21 16:50:59 +08:00
SWHL 508beba09a Add VisRes class 2023-09-20 18:20:39 +08:00
SWHL 8806af16ad Fixed issue #124 2023-09-20 15:57:16 +08:00
SWHL 6d53213d18 Fixed issue #122 2023-09-20 14:58:25 +08:00
SWHL 9527f71ed2 Fixed error of parameter 2023-09-19 17:14:33 +08:00
SWHL 768a53641f Update function of updating parameters. 2023-09-18 22:47:56 +08:00
SWHL 436a9f6b68 Fixed issue #116 and update the issue template 2023-09-06 09:42:54 +08:00
SWHL 3e8d979e8e Add reproducible demo 2023-09-05 22:32:30 +08:00
SWHL 30535e88cd Fixed issue #115 2023-08-29 10:43:38 +08:00
SWHL d986974dca Fix issue #104 2023-07-12 09:56:30 +08:00
SWHL 02278c2d67 Update OrtInferSession tip when meets error. 2023-06-30 16:14:42 +08:00
SWHL f4fd5cdcba Format by black 2023-06-24 10:27:12 +08:00
SWHL e3535fac22 Fix parameter typo 2023-04-10 09:34:05 +08:00
SWHL f68f98b095 Fix LoadImage error when bytes comes from gif 2023-04-07 14:53:59 +08:00
SWHL 8e2508e0a6 Fix LoadImage class bug 2023-03-28 19:03:14 +08:00
SWHL 86ce4ceca3 Fix bugs of inputting paramters with class instance 2023-03-11 11:04:25 +08:00
SWHL 220390dfc3 Optim Load_image class 2023-03-10 18:27:13 +08:00
SWHL 6a9f1d4a98 Develop (#73)
* Optim input parameters

* optim input parameters

* Update argparse params

* Support to input params by CLI and class instance
2023-03-07 08:30:56 +08:00
SWHL 9777a29fbe Add more formats of input 2023-02-15 08:59:14 +08:00
SWHL 3bee03fad9 Add load image method 2023-02-14 19:14:29 +08:00
SWHL a8150f28c2 Optim inference code 2023-02-13 09:47:49 +08:00