本帖最后由 wadclife 于 2024-12-18 23:07 编辑
EasyOCR 官方地址:https://www.easyproject.cn/easyocr/zh-cn/index.jsp#readme
识别结果:
[{"text": "新人指南", "x": 55, "y": 9, "x1": 121, "y1": 29, "cx": 88, "cy": 19}, {"text": "邀请好友注册", "x": 55, "y": 33, "x1": 151, "y1": 53, "cx": 103, "cy": 43}, {"text": "我关注人的新帖", "x": 159, "y": 33, "x1": 271, "y1": 51, "cx": 215, "cy": 42}, {"text": "B", "x": 342, "y": 18, "x1": 366, "y1": 48, "cx": 354, "cy": 33}, {"text": "求职[招聘 论坛接单 开发者大厅", "x": 374, "y": 29, "x1": 602, "y1": 55, "cx": 488, "cy": 42}, {"text": "教你赚取精币", "x": 55, "y": 57, "x1": 151, "y1": 77, "cx": 103, "cy": 67}, {"text": "每日签到", "x": 161, "y": 57, "x1": 225, "y1": 77, "cx": 193, "cy": 67}]
地址:http://127.0.0.1:9000/all 返回带坐标的识别结果!
地址:http://127.0.0.1:9000/text 只返回识别文字!
提交方式:post 提交内容: base64编码后的图片(utf-8)
提交方式:post 提交内容: base64编码后的图片(utf-8)
单文件 放服务器 或者 本地都可以!
下载地址: https://www.123684.com/s/Hk1cjv-nuv3d?提取码:WAlG
默认使用gpu 未安装 cuda 则使用cpu gpu速度要快很多!
|