Skip to content

Releases: RapidAI/RapidOCR

[ocrweb] Desktop v0.1.5

20 May 02:10
Compare
Choose a tag to compare

ๆƒ…ไบบ่Š‚ๅฟซไน๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

  • ๅขžๅŠ ocrweb็‰ˆๅฏๆ‰ง่กŒ็จ‹ๅบ๏ผŒๆ”ฏๆŒWindowsใ€Ubuntuๅ’ŒmaxOSไธ‰ไธชๆ“ไฝœ็ณป็ปŸใ€‚
  • ไปŽ้™„ไปถไธญไธ‹่ฝฝๅฏนๅบ”ๅนณๅฐzipๅŒ…๏ผŒ่งฃๅŽ‹๏ผŒๅŒๅŠ RapidOCRWeb่ฟ่กŒ๏ผŒไน‹ๅŽๆ‰“ๅผ€ๆต่งˆๅ™จ่พ“ๅ…ฅhttp://localhost:9003/๏ผŒๅณๅฏ่ฎฟ้—ฎocrweb

[Python] v1.2.0

21 Jan 13:28
Compare
Choose a tag to compare

ๆ–ฐๅขž็‰ˆ้ข็ป“ๆž„ๅŒ–ๅŠŸ่ƒฝๆจกๅ—

  • ๅทฒ็ปๅฏน่ฟ™้ƒจๅˆ†ๅŠŸ่ƒฝๅšไบ†ๆ‹†ๅˆ†๏ผŒ่ฏฆๆƒ…ๅ‚่ง๏ผšRapidStructure

What's Changed

  • ๅ‚่€ƒOCRWebๅฎž็Žฐ็š„ๅคš่ฏญ่จ€้ƒจ็ฝฒ by @AutumnSun1996 in #46

New Contributors

Full Changelog: v1.1.0...1.2.0

[Python] v1.1.0

17 Aug 11:24
156b21a
Compare
Choose a tag to compare

โš ๏ธ ๆณจๆ„

  • ่ฟ™ไธชrelease้™„ไปถไธๅฏๅˆ ้™ค๏ผŒๆœ‰ๅพˆๅคšๅœฐๆ–นไพ่ต–่ฟ™ไธชๅ‘ข๏ผŒ่ฐจ่ฎฐ

ๆœฌๆฌกๆ›ดๆ–ฐ่ฆ็‚น๏ผš

  1. ๅฐ†ๆ–‡ๆœฌ่ฏ†ๅˆซ้ƒจๅˆ†ๆ‰€้œ€่ฆ็š„ๅญ—ๅ…ธๆ–‡ไปถๅ†™ๅ…ฅๅˆฐONNXๆจกๅž‹ไธญ๏ผŒ่ฟ™ๆ ทๅˆ†ๅ‘ๆ—ถๅชๆœ‰ๆจกๅž‹ๆ–‡ไปถ๏ผŒ้ฟๅ…ๆจกๅž‹ไธŽๅญ—ๅ…ธๆ–‡ไปถไธ็ปŸไธ€็š„้—ฎ้ข˜๏ผŒๆ„Ÿ่ฐขAutumnSun1996ๅœจissue 42ๆๅ‡บใ€‚
  2. ๅฝ“ๅ‰ๆŽจ็†ไปฃ็ ๆ˜ฏๅ…ผๅฎนv1.0.0็š„๏ผŒไนŸๅฐฑๆ˜ฏ่ฏดไผ ๅ…ฅๅญ—ๅ…ธๆ–‡ไปถ๏ผŒไผšไผ˜ๅ…ˆๅŠ ่ฝฝไผ ๅ…ฅ็š„ๅญ—ๅ…ธๆ–‡ไปถใ€‚
  3. ๆ›ฟๆขไน‹ๅ‰ๅฏ่ง†ๅŒ–็š„ๅญ—ไฝ“๏ผˆmsyh.ttc๏ผ‰ไธบๆ–นๆญฃๅงšไฝ“(FZYTK.TTF)๏ผŒไธป่ฆๅŽŸๅ› ๆ˜ฏ๏ผŒๅŽ่€…ๅญ—ไฝ“ๆ–‡ไปถๆ›ดๅฐ๏ผŒไพฟไบŽไธ‹่ฝฝใ€‚
  4. ็ปŸไธ€ๅ„ไธชๆจกๅ—็š„ๅ็งฐ๏ผŒ้ฟๅ…ๅผ•่ตทๅ›ฐๆƒ‘ใ€‚
  5. ocrweb้ƒจๅˆ†ๆทปๅŠ API้ƒจ็ฝฒ่ฐƒ็”จๆ–นๅผ๏ผŒ่ฏฆๆƒ…ๅ‚่งไปฅAPIๆ–นๅผ่ฟ่กŒๅ’Œ่ฐƒ็”จ
  6. ๆทปๅŠ ๆฃ€ๆต‹ๅŽๅค„็†ๅ‚ๆ•ฐscore_mode=slow ๅขžๅŠ ่ฏ†ๅˆซ็Ž‡ by @DogeVenci in #37

ๆณจๆ„๏ผ๏ผ๏ผ

  • ๅฆ‚ๆžœไธ‹่ฝฝ้™„ไปถ้€Ÿๅบฆ่พƒๆ…ข๏ผŒๅฏไปฅๅŽปGiteeไธ‹่ฝฝ๏ผŒๆ–‡ไปถๆ˜ฏไธ€ๆ ท็š„ใ€‚

้™„ไปถๅ„ไธชๆ–‡ไปถ็›ฎๅฝ•็ป“ๆž„๏ผš

  • ocrweb_v1.1.0.zip

    ocrweb_v1.1.0/
    โ”œโ”€โ”€ api.py
    โ”œโ”€โ”€ config.yaml
    โ”œโ”€โ”€ main.py
    โ”œโ”€โ”€ rapidocr_onnxruntime
    โ”‚   โ”œโ”€โ”€ ch_ppocr_v2_cls
    โ”‚   โ”œโ”€โ”€ ch_ppocr_v3_det
    โ”‚   โ”œโ”€โ”€ ch_ppocr_v3_rec
    โ”‚   โ”œโ”€โ”€ __init__.py
    โ”‚   โ””โ”€โ”€ rapid_ocr_api.py
    โ”œโ”€โ”€ README.md
    โ”œโ”€โ”€ requirements.txt
    โ”œโ”€โ”€ resources
    โ”‚   โ””โ”€โ”€ models
    โ”‚       โ”œโ”€โ”€ ch_ppocr_mobile_v2.0_cls_infer.onnx
    โ”‚       โ”œโ”€โ”€ ch_PP-OCRv3_det_infer.onnx
    โ”‚       โ””โ”€โ”€ ch_PP-OCRv3_rec_infer.onnx
    โ”œโ”€โ”€ static
    โ”‚   โ”œโ”€โ”€ css
    โ”‚   โ””โ”€โ”€ js
    โ”œโ”€โ”€ task.py
    โ””โ”€โ”€ templates
        โ””โ”€โ”€ index.html
    
  • rapidocr_onnxruntime_v1.1.0.zip

    rapidocr_onnxruntime_v1.1.0/
    โ”œโ”€โ”€ config.yaml
    โ”œโ”€โ”€ rapidocr_onnxruntime
    โ”‚   โ”œโ”€โ”€ ch_ppocr_v2_cls
    โ”‚   โ”œโ”€โ”€ ch_ppocr_v3_det
    โ”‚   โ”œโ”€โ”€ ch_ppocr_v3_rec
    โ”‚   โ”œโ”€โ”€ __init__.py
    โ”‚   โ””โ”€โ”€ rapid_ocr_api.py
    โ”œโ”€โ”€ README.md
    โ”œโ”€โ”€ requirements.txt
    โ”œโ”€โ”€ resources
    โ”‚   โ”œโ”€โ”€ fonts
    โ”‚   โ”‚    โ””โ”€โ”€ FZYTK.TTF
    โ”‚   โ””โ”€โ”€ models
    โ”‚       โ”œโ”€โ”€ ch_ppocr_mobile_v2.0_cls_infer.onnx
    โ”‚       โ”œโ”€โ”€ ch_PP-OCRv3_det_infer.onnx
    โ”‚       โ””โ”€โ”€ ch_PP-OCRv3_rec_infer.onnx
    โ”œโ”€โ”€ setup.py
    โ”œโ”€โ”€ test_demo.py
    โ””โ”€โ”€ test_images
        โ”œโ”€โ”€ ch_en_num.jpg
        โ””โ”€โ”€ single_line_text.jpg
    
  • rapidocr_openvino_v1.1.0.zip

    rapidocr_openvino_v1.1.0/
    โ”œโ”€โ”€ config.yaml
    โ”œโ”€โ”€ rapidocr_openvino
    โ”‚   โ”œโ”€โ”€ ch_ppocr_v2_cls
    โ”‚   โ”œโ”€โ”€ ch_ppocr_v3_det
    โ”‚   โ”œโ”€โ”€ ch_ppocr_v3_rec
    โ”‚   โ”œโ”€โ”€ __init__.py
    โ”‚   โ”œโ”€โ”€ rapid_ocr_api.py
    โ”‚   โ””โ”€โ”€ README.md
    โ”œโ”€โ”€ README.md
    โ”œโ”€โ”€ requirements.txt
    โ”œโ”€โ”€ resources
    โ”‚   โ”œโ”€โ”€ fonts
    โ”‚   โ”‚    โ””โ”€โ”€ FZYTK.TTF
    โ”‚   โ””โ”€โ”€ models
    โ”‚       โ”œโ”€โ”€ ch_ppocr_mobile_v2.0_cls_infer.onnx
    โ”‚       โ”œโ”€โ”€ ch_PP-OCRv3_det_infer.onnx
    โ”‚       โ””โ”€โ”€ ch_PP-OCRv3_rec_infer.onnx
    โ”œโ”€โ”€ setup.py
    โ”œโ”€โ”€ test_demo.py
    โ””โ”€โ”€ test_images
        โ”œโ”€โ”€ ch_en_num.jpg
        โ””โ”€โ”€ single_line_text.jpg
    
  • required_for_whl_v1.1.0.zip

    required_for_whl_v1.1.0/
    โ”œโ”€โ”€ config.yaml
    โ”œโ”€โ”€ README.md
    โ”œโ”€โ”€ resources
    โ”‚   โ””โ”€โ”€ models
    โ”‚       โ”œโ”€โ”€ ch_ppocr_mobile_v2.0_cls_infer.onnx
    โ”‚       โ”œโ”€โ”€ ch_PP-OCRv3_det_infer.onnx
    โ”‚       โ””โ”€โ”€ ch_PP-OCRv3_rec_infer.onnx
    โ”œโ”€โ”€ test_demo.py
    โ””โ”€โ”€ test_images
        โ”œโ”€โ”€ ch_en_num.jpg
        โ””โ”€โ”€ single_line_text.jpg
    
  • resources.zip

    resources/
    โ”œโ”€โ”€ fonts
    โ”‚   โ””โ”€โ”€ FZYTK.TTF
    โ””โ”€โ”€ models
        โ”œโ”€โ”€ ch_ppocr_mobile_v2.0_cls_infer.onnx
        โ”œโ”€โ”€ ch_PP-OCRv3_det_infer.onnx
        โ””โ”€โ”€ ch_PP-OCRv3_rec_infer.onnx
    

[Python] Inference code base ONNXRuntime, OpenVINO and ocrweb

09 Jul 14:06
Compare
Choose a tag to compare

v1.0.0

  • Considering that it is tedious to directly use the inference code under the existing repository, we hereby release a version that packages the resources directory with each other inference scenario independently.
  • The contents of the resources directory are shown below, and the models are the same as those in the download link given in the repository, which is the current The best model combination.
    resources
    โ”œโ”€โ”€ fonts
    โ”‚   โ””โ”€โ”€ msyh.ttc
    โ”œโ”€โ”€ models
    โ”‚   โ”œโ”€โ”€ ch_ppocr_mobile_v2.0_cls_infer.onnx
    โ”‚   โ”œโ”€โ”€ ch_PP-OCRv3_det_infer.onnx
    โ”‚   โ””โ”€โ”€ ch_PP-OCRv3_rec_infer.onnx
    โ””โ”€โ”€ rec_dict
        โ””โ”€โ”€ ppocr_keys_v1.txt
    
  • You can go to BaiduNetDisk | Google Drive to download other models according to your needs to download other models.
  • The following attached zip file contains the complete runtime code and model, which can be downloaded directly and refer to the README to run the sample demo.

ไธญๆ–‡็‰ˆ๏ผš

  • ่€ƒ่™‘ๅˆฐ็›ดๆŽฅไฝฟ็”จ็Žฐๆœ‰ไป“ๅบ“ไธ‹็š„ๆŽจ็†ไปฃ็ ๆญฅ้ชค็น็๏ผŒ็‰นๆญคreleaseไธ€็‰ˆ๏ผŒๅฐ†resources็›ฎๅฝ•ไธŽๅ…ถไป–ๅ„ไธชๆŽจ็†ๅœบๆ™ฏ็‹ฌ็ซ‹ๆ‰“ๅŒ…ใ€‚
  • ๅ…ถไธญ๏ผŒresources็›ฎๅฝ•ไธ‹ๅ†…ๅฎนๅฆ‚ไธ‹ๆ‰€็คบ๏ผŒๆจกๅž‹ไธŽไป“ๅบ“ไธญๆ‰€็ป™ไธ‹่ฝฝ้“พๆŽฅไธญ็š„ไธ€่‡ด๏ผŒไธบ็›ฎๅ‰ๆœ€ไผ˜ๆจกๅž‹็ป„ๅˆใ€‚
    resources
    โ”œโ”€โ”€ fonts
    โ”‚   โ””โ”€โ”€ msyh.ttc
    โ”œโ”€โ”€ models
    โ”‚   โ”œโ”€โ”€ ch_ppocr_mobile_v2.0_cls_infer.onnx
    โ”‚   โ”œโ”€โ”€ ch_PP-OCRv3_det_infer.onnx
    โ”‚   โ””โ”€โ”€ ch_PP-OCRv3_rec_infer.onnx
    โ””โ”€โ”€ rec_dict
        โ””โ”€โ”€ ppocr_keys_v1.txt
    
  • ๅฐไผ™ไผดๅฏๆ นๆฎ้œ€่ฆ๏ผŒ่‡ช่กŒๅŽป ็™พๅบฆ็ฝ‘็›˜ | Google Driveไธ‹่ฝฝๅ…ถไป–ๆจกๅž‹ใ€‚
  • ไปฅไธ‹้™„ไปถไธญ็š„zipๆ–‡ไปถไธญๅซๆœ‰ๅฎŒๆ•ด็š„่ฟ่กŒไปฃ็ ๅ’Œๆจกๅž‹๏ผŒๅฏ็›ดๆŽฅไธ‹่ฝฝ๏ผŒๅ‚็…งREADMEๆฅ่ฟ่กŒ็คบไพ‹Demoใ€‚
  • ๏ผ๏ผ๏ผๅฆ‚ๆžœไธ‹่ฝฝ็ฝ‘ๆ…ข็š„่ฏ๏ผŒๅฏไปฅๅŽปGiteeไธ‹่ฝฝใ€‚

Model files for ONNXRuntime 1.7 or above

27 Mar 03:10
d56aaf1
Compare
Choose a tag to compare

Models for ONNXRuntime 1.7 or above. It's converted by the latest paddle2onnx.