Greasy Fork

OCR Image Content Display

Displays the text content of the image in the clipboard using OCR and displays it in an alert when the script is run.

当前为 2023-03-30 提交的版本,查看 最新版本

作者
Luffy_liu
评分
0 0 0
版本
1.0
创建于
2023-03-30
更新于
2023-03-30
大小
3.3 KB
许可证
MIT
适用于
所有网站
  1. 调用 OCRspace 和 openAI 的 text-3 接口;
  2. OCRspace 是免费的,需要自己申请 apikey,搜索 OCRspace 就行;
  3. openAI 是付费的,有免费额度,需要自己申请 apikey,同样自己搜索;
  4. 本脚本使用方法:
  5. 截图想要翻译的图文内容;
  6. 点击页面图标;
  7. 等待接口返回内容;
  8. 接口反馈成功后,页面会自动弹出弹窗,显示原文和翻译的内容;