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.

Author
Luffy_liu
Daily installs
0
Total installs
339
Ratings
0 1 1
Version
1.1.1
Created
2023-03-30
Updated
2023-04-02
License
MIT
Applies to
All sites
  1. 调用 OCRspace 和 openAI 的 text-3 接口、百度的语音合成接口;
  2. OCRspace 是免费的,需要自己申请 apikey,搜索 OCRspace 就行;
  3. openAI 是付费的,有免费额度,需要自己申请 apikey,同样自己搜索;
  4. 语音合成接口也是免费的,tok 需要自己去百度智能云官网申请;
  5. 本脚本使用方法:
  6. 截图想要翻译的图文内容;
  7. 点击页面图标;
  8. 等待接口返回内容;
  9. 接口反馈成功后,页面会自动弹出弹窗,显示原文和翻译的内容;
  10. 点击确认,会朗读原文;