PaddleOCR AutoHotkey 版。
本项目是 AutoHotkey 语言(简称 AHK )的函数库,用户仅需1行代码即可使用 PaddleOCR 的各种功能。
对于非 AHK 用户,下载 此版本 并运行其中的 示例.exe
即可。
示例.exe
实际就是 AHK 的解释器,它负责解释并执行 示例.ahk
中的代码。
PaddleOCR("test_zh.png")
PaddleOCR("test.pdf")
PaddleOCR({pdf:"test.pdf", index:2})
PaddleOCR({pdf:"test.pdf", index:-1})
PaddleOCR([0, 0, 100, 200])
PaddleOCR(0)
PaddleOCR(1)
PaddleOCR(2)
PaddleOCR("无标题 - 画图")
PaddleOCR("ahk_class MSPaintApp")
PaddleOCR("ahk_id 0x123abc")
PaddleOCR("ahk_exe mspaint.exe")
PaddleOCR("ahk_pid 1234")
PaddleOCR(ClipboardAll)
PaddleOCR("wallpaper")
PaddleOCR(A_Cursor)
PaddleOCR("iVBORw0KGgoAAAANSUhEUgAAAFAAAAAjCAMAAAA0eX3wAAAARVBMVEUdISXMzMyyfkUdYZmXYSWyzMw/frMdQ3/MmGPMsn8/ISV8sswdIWMdIUWXzMzMzLNfmMx8QyXMzJlfISWXfn+XmLOXmGNE0xoSAAAA5klEQVRIx+2SWQ6DMBBDk7ClK9Dt/ketmViyUBp+WqmqGn8gM8w8PFFcVdXfqvFhZY9n7338IBAaut8H9uPc42RaxyPyu32qL94osgKyGl8C70BM4wzgw6iXq3OnA54WS3YNxAR6MZoBEcn6VGiX+ZZ7ygrId36TNI8Y/Jc1MRVskBWQAW2dWARijIeIgvEJlBWQ/dy5lBDNeFhCNJJCmwN9UgFoY1yj2UqolZGQyoGkEDjR2gkEWQF52zaAXLa3QD4VIiC3LsgKmHYuEHVr6ePQpcgAD6DImlP3ZLZwbd5QBVZVfVVP8SYLFHfLLvoAAAAASUVORK5CYII=")
PaddleOCR("https://www.baidu.com/img/flexible/logo/pc/result.png")
除上述基本使用外,本库还支持 17项 额外参数。
以下仅演示部分额外参数的使用,完整参数请查看 示例.ahk
文件。
PaddleOCR("test_zh.png", {"model":"fast"})
PaddleOCR("test_zh.png", {"model":"fast", "get_all_info":1, "visualize":1})
- Support OCR PDF file directly.
- Fix a bug when set "get_all_info" to 1.
- Add 4 examples.
- Update all examples.
- Update ImagePut.ahk to 1.5.1.
- When set "get_all_info" to 1, the return value is an object.
- Fix a bug when set "get_all_info" to 1.
- Update example 6 and 7.
- Update ImagePut.ahk to 1.3.
- Update JSON.ahk to cJSON.ahk.
- Update PaddleOCR.dll to 2.3.
- Update detection model to ch_PP-OCRv2_det.
- Update ImagePut.ahk to 1.2 beta.
- Load configs no longer requires temporary file.
- Rename dict file and model directories
- Made by thqby. (https://gitee.com/orz707)
- He release it in QQ Group.
- Made by iseahound.
- https://github.com/iseahound/ImagePut