How to use:
1. OCR a img file ( bmp, dib, rle, jpg, jpeg, jpe, jfif, gif, tif, tiff, png )
MsgBox, % PaddleOCR("test_en.png")
2. OCR a PDF file
MsgBox, % PaddleOCR("test.pdf")
3. OCR a screenshot
MsgBox, % PaddleOCR([0, 0, 100, 200])
4. OCR a monitor
MsgBox, % PaddleOCR(1)
5. OCR a window
MsgBox, % PaddleOCR("ahk_exe notepad.exe")
6. OCR the clipboard
MsgBox, % PaddleOCR(ClipboardAll)
7. OCR the wallpaper
MsgBox, % PaddleOCR("wallpaper")
8. OCR the mouse cursor
MsgBox, % PaddleOCR(A_Cursor)
9. OCR a base64 string
MsgBox, % PaddleOCR("iVBORw0KGgoAAAANSUhEUgAAAFAAAAAjCAMAAAA0eX3wAAAARVBMVEUdISXMzMyyfkUdYZmXYSWyzMw/frMdQ3/MmGPMsn8/ISV8sswdIWMdIUWXzMzMzLNfmMx8QyXMzJlfISWXfn+XmLOXmGNE0xoSAAAA5klEQVRIx+2SWQ6DMBBDk7ClK9Dt/ketmViyUBp+WqmqGn8gM8w8PFFcVdXfqvFhZY9n7338IBAaut8H9uPc42RaxyPyu32qL94osgKyGl8C70BM4wzgw6iXq3OnA54WS3YNxAR6MZoBEcn6VGiX+ZZ7ygrId36TNI8Y/Jc1MRVskBWQAW2dWARijIeIgvEJlBWQ/dy5lBDNeFhCNJJCmwN9UgFoY1yj2UqolZGQyoGkEDjR2gkEWQF52zaAXLa3QD4VIiC3LsgKmHYuEHVr6ePQpcgAD6DImlP3ZLZwbd5QBVZVfVVP8SYLFHfLLvoAAAAASUVORK5CYII=")
10. OCR a URL
MsgBox, % PaddleOCR("https://www.baidu.com/img/flexible/logo/pc/result.png")
and more...
Thanks:
- PaddleOCR Dll
Made by thqby. (https://gitee.com/orz707)
He release it in QQ Group.
- ImagePut
Made by iseahound.
https://github.com/iseahound/ImagePut
Download:
PaddleOCR