Commit Graph
100 Commits
Author SHA1 Message Date
SWHL c4db82f7ac test: remove invalid unit testings of tensorrt module 2026-07-09 06:10:27 +08:00
SWHL bce0c99be9 test: add PP-OCRv3 mobile unit testings 2026-07-08 21:31:33 +08:00
SWHL 0fa7a9664c fix: fixed issue #695 2026-07-08 19:23:17 +08:00
SWHL 802c05647f fix: fixed issue #709 2026-07-08 16:04:02 +08:00
SWHL b64a46ffd4 fix: align the performance of the torch version of the PP-OCRv6 Rec tiny model 2026-07-04 22:42:55 +08:00
SWHL 7fe716f8e3 chore: update pre-commit rule 2026-07-02 21:27:14 +08:00
SWHL 28490093df chore: add missing scripts of PyTorch module 2026-07-02 17:58:08 +08:00
SWHL 370f01d0a8 feat: support PP-OCRv6 PyTor as the inference engine 2026-07-02 17:54:27 +08:00
SWHL c18432567f fix: adjust PP-OCRv6 Paddle model key names in YAML config 2026-06-26 16:52:53 +08:00
SWHL 7980d1887f ci: update openvino version 2026-06-23 10:27:57 +08:00
SWHL 4f4d675a79 chore: update files 2026-06-23 09:54:53 +08:00
SWHL 92c2d93a40 test: update PP-OCRv4/v5 unit testings 2026-06-22 22:07:04 +08:00
SWHL 1be3e8980c test: update pp-ocrv6 unit testing 2026-06-22 18:41:51 +08:00
SWHL 52fdd1e21a chore: update files 2026-06-22 18:39:25 +08:00
SWHL 1b982078df fix: fixed issue #694 2026-06-17 10:57:41 +08:00
SWHL 73ef3f623a docs: update python version badge 2026-06-15 17:00:36 +08:00
SWHL 86b48d2c96 feat: optimize the wheel packaging process (#687)
* chore: add pyproject toml configuration

* build: migrate RapidOCR wheel packaging to pyproject.toml

- add PEP 517 setuptools build configuration
- derive package version from git tags via setuptools-scm
- move wheel model preparation into an explicit tools script
- generate MANIFEST.in for default model assets before building
- avoid importing rapidocr during package metadata generation

* ci: build release wheels from validated git tags

* build: align package runtime support with Python 3.8

- set Requires-Python to >=3.8
- remove Python 3.6 and 3.7 classifiers
- make wheel asset preparation script type hints Python 3.8 compatible
- clarify split between build-time and wheel runtime support
2026-06-12 17:19:53 +08:00
SWHL 2efe31f0cc fix: fixed issue #682 2026-06-11 18:54:58 +08:00
SWHL 307407d462 ci: optimize to package whl action 2026-06-10 22:58:36 +08:00
SWHL f8392300f6 fix: fixed issue #676 2026-06-10 21:44:33 +08:00
SWHL d312f67f44 refactor: optimize to package whl logic 2026-06-09 23:04:42 +08:00
SWHL a4c7382bba feat: add default download model configuration 2026-06-09 23:04:08 +08:00
SWHL e8938d8c2a refactor: optimize import 2026-06-09 23:02:06 +08:00
SWHL 7b2d368ac6 fix: fixed dml typo 2026-05-22 14:45:35 +08:00
SWHL 3857ff5153 build: update omegaconf version constraint 2026-05-06 09:59:20 +08:00
SWHL 49b4fcb44c fix(cli): handle language option and empty visualization results
- pass --lang_type into RapidOCR recognition config
- skip CLI visualization when OCR or word results are empty
- validate parameter update keys before applying config updates
- add regression tests for CLI language, empty visualization, and invalid params
2026-04-27 16:51:56 +08:00
SWHL d48c4cf312 refactor: optimize model_root_dir logic 2026-04-24 11:24:49 +08:00
SWHL d4bf8f2b96 fix: add missing DEFAULT_MODEL_PATH property (#664) 2026-04-11 10:29:01 +08:00
SWHL d70bbbbce5 chore: update sponsor way 2026-04-11 09:59:10 +08:00
SWHL abaaeb3043 chore: update default_model version to v3.8.0 2026-04-08 21:26:32 +08:00
SWHL 143f46242d fix: update paddle/cls/v5 model url 2026-04-08 21:17:07 +08:00
SWHL e9a915aa69 docs: add skill badge 2026-04-08 17:04:07 +08:00
SWHL c5d1ea7f4a chore: update model name 2026-04-08 10:05:46 +08:00
SWHL ece967983d test: add cls unit testings 2026-04-07 18:47:47 +08:00
SWHL b73ec51ecf feat: add PP-OCRv5 cls module 2026-04-07 17:35:01 +08:00
SWHL 9023589c86 feat: add PP-OCRv5 cls module 2026-04-07 17:34:15 +08:00
SWHL 5ef452516d fix: added missing package import 2026-03-19 17:36:24 +08:00
SWHL 8ea96265b5 feat(python): add model_root_dir and download_models (API + CLI) 2026-03-19 17:27:44 +08:00
SWHL 6e829e313e chore: update backer url 2026-03-05 14:18:57 +08:00
SWHL 878cc1167c chore: update backer list 2026-03-05 14:17:30 +08:00
SWHL f7961d3d2c chore: update default_model url path 2026-03-04 23:17:44 +08:00
SWHL 4553a88757 docs: update downloads badge 2026-03-02 08:00:11 +08:00
SWHL 5aa9079e75 refactor: standardize public interface with __all__
Close issue #646
2026-02-28 23:37:25 +08:00
SWHL 42150aae6d docs: update downloads badge 2026-02-27 10:34:39 +08:00
SWHL 289ca3b40d docs: update README 2026-02-27 09:13:01 +08:00
SWHL 9d12451b7b refactor(openvino): remove dict_url from model configs 2026-02-26 19:42:45 +08:00
SWHL 80bbdc9615 test(tensorrt): skip TensorRT tests when not installed and exclude from parametrized suites 2026-02-26 17:34:30 +08:00
SWHL e549f7eacc feat(inference): add get_character_list abstract method to InferSession 2026-02-26 17:32:47 +08:00
SWHL 106d4d189d fix(openvino): fixed the missing List import 2026-02-26 17:07:35 +08:00
SWHL 9108b617ab feat(openvino): support retrieving character list from model runtime info 2026-02-25 19:00:08 +08:00
SWHL 7ac11d768b chore: add discord webhook 2026-02-13 10:44:10 +08:00
SWHL 84b6b342fc chore: update cliff template 2026-02-13 10:39:18 +08:00
SWHL 1f106db4ad docs: update style 2026-02-06 20:15:11 +08:00
SWHL ac63a90b84 docs: add CONTRIBUTING 2026-02-06 18:42:35 +08:00
SWHL 771b558cf6 chore: update Discord invite link 2026-02-02 11:17:24 +08:00
SWHL 009a210a79 chore: update default image url 2026-02-01 14:36:32 +08:00
SWHL 75d0d159d2 chore: update model list to direct version 2026-01-28 22:32:35 +08:00
SWHL 12f1bf9594 ci(mnn): add MNN dependency 2026-01-28 22:25:51 +08:00
SWHL 3a4a91020b test(mnn): add mnn unit testings 2026-01-28 22:18:58 +08:00
SWHL 0ae0375710 feat(mnn): add mnn model list 2026-01-28 22:18:05 +08:00
SWHL 58bf4f81cc refactor: add tip when model_dict is None
Closes #628
2026-01-28 22:11:01 +08:00
SWHL 402aadb121 refactor(openvino): fix openvion error typo error 2026-01-28 21:40:08 +08:00
SWHL 0debb66e0f docs: fix backer syntax error 2026-01-12 10:06:23 +08:00
SWHL 9b8f74bc63 docs: add backer 2026-01-08 09:23:15 +08:00
SWHL d37b37f62b docs: add Discord link 2026-01-07 10:23:18 +08:00
SWHL efb0ed414f ci: add python-bidi dependence 2026-01-06 22:30:41 +08:00
SWHL 7d88c84acf fix(inference_engine): fix model type comparison and improve error handling
Closed #565
2026-01-06 21:57:34 +08:00
SWHL 5cd7de1e47 refactor: refactor paddle inference code (#622)
* refactor: refactor paddle inference code

* fix(paddle): correct typo and improve device env setup
2026-01-05 21:19:25 +08:00
SWHL 09dbaf5ae5 refactor: remove unused parameters from calc_word_boxes 2025-12-26 22:07:10 +08:00
SWHL 32c705b99c fix: fixed error of showing cls result (#621)
* fix: fixed error of showing cls result

Related #616

* refactor(cls/utils): use cv2.ROTATE_180 and add type hint
2025-12-26 21:51:16 +08:00
SWHL 8487133fc5 feat: update five multi language files (#619)
* feat: update five multi language files

* feat(rec): enable RTL text display for Arabic

* test(rec): add arabic, cyrillic, devanagari, ta and te unit testings

* test(rec): remove duplicate cyrillic unit testing

* feat(rec): update url to v3.5.0
2025-12-26 21:24:58 +08:00
SWHL 2af4d3eed6 docs: update link to the repo being used 2025-12-19 08:21:13 +08:00
SWHL df8c571f1c fix: correct incorrect character coordinates in returned data (#614)
* chore: update files

* fix: correct incorrect character coordinates in returned data

Related #612

* chore: restore demo

* fix(utils): add missing type annotations to filter_by_indices and is_chinese_char
2025-12-18 08:20:43 +08:00
SWHL 6ff07a57f8 fix: sync filtering of scores with word_results
Closes #608
2025-12-09 21:29:26 +08:00
SWHL c65d816b5b feat: replace flawed RGBA-to-BGA conversion with auto-contrast background blending 2025-12-09 21:11:44 +08:00
SWHL 67222d0688 chore: move README-CN.md out of docs directory 2025-12-08 21:01:31 +08:00
SWHL d2e7e433c5 docs(readme): add trending badge 2025-12-05 22:19:04 +08:00
SWHL 4e0224c395 fix: fixed issue #589 2025-12-02 21:42:48 +08:00
SWHL 7c1e4601b8 fix: fixed boxes sorting error 2025-12-02 11:26:16 +08:00
SWHL d2e9e6b844 refacter: optimize the parameter update method 2025-12-01 17:57:40 +08:00
SWHL a9c73e15fa docs: update QQ group 2025-11-12 09:11:35 +08:00
SWHL 787819457f fix: fixed issue #566 (#573)
* chore: update files

* chore: update files

* chore: refacter torch config

* chore: refacter torch infersession

* chore: refacter torch infersession

* test: change image url from github to modelscope
2025-11-07 20:00:33 +08:00
SWHL eabeea95fb chore: update cliff config 2025-10-12 09:25:20 +08:00
SWHL 13fb8cc8db fix: fixed issue #542 (#564)
* fix: fixed issue #542

* test: update the image of the test cls

* test: update the ground truth of the test cls image
2025-10-11 21:40:00 +08:00
SWHL 32dad48ebb fix: fixed issue #555
* fix: fixed issue #555

* chore: refactor code

* chore: refactor code

* chore: refactor code

* chore: refactor code

* chore: refactor code
2025-09-30 17:44:20 +08:00
SWHL 145342f59f docs: remove sponsor 2025-09-28 21:21:10 +08:00
SWHL ff2050266e chore: refacter torch infersession 2025-09-28 21:19:48 +08:00
SWHL dec60563b4 fix: fixed issue #554 2025-09-18 20:36:44 +08:00
SWHL bb071364a4 ci: fixed the error of running unit testing code 2025-09-06 17:58:43 +08:00
SWHL 017b8fd5c7 feat: add en/el/th ppocr_v5_rec_mobile paddle/onnx/openvino (#546)
* feat: add en/el/th ppocr_v5_rec_mobile paddle/onnx/openvino

* test: change to a more secure code
2025-09-06 17:50:05 +08:00
SWHL a40454c9b0 fix: fixed issue #544 (#545) 2025-09-04 21:55:34 +08:00
SWHL 386c415933 fix: remove deprecated getLevalName 2025-09-04 08:29:15 +08:00
SWHL 336e6424a5 fix: fixed issue #531 2025-09-03 21:58:15 +08:00
SWHL a0bb926500 fix: fixed issue #528 2025-09-01 09:36:46 +08:00
SWHL af65796b78 fix: fixed issue #527 2025-09-01 08:28:10 +08:00
SWHL 66d5a0449a chore: update ucloud url 2025-08-26 22:47:31 +08:00
SWHL e4afa55b26 docs: update logo to v2 2025-08-08 22:31:35 +08:00
SWHL cfebc470ca docs: add QQ group7 2025-08-07 22:08:35 +08:00
SWHL 6d1b451812 fix: fixed repeating printing in font logs 2025-08-01 09:55:45 +08:00
SWHL b8ad07fa4a chore: remove docs of rapidocr_paddle/torch/onnxruntime/openvino 2025-07-29 08:10:14 +08:00