エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
DeepL APIを使って英語論文をサクッと翻訳するツールを作った。【Python】 - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
DeepL APIを使って英語論文をサクッと翻訳するツールを作った。【Python】 - Qiita
from threading import Thread import win32api from PIL import ImageGrab import pyocr import ctypes... from threading import Thread import win32api from PIL import ImageGrab import pyocr import ctypes import time import tkinter as tk from requests import post class ClipboardOCR: def __init__(self): self.tool = pyocr.get_available_tools()[0] self.builder = pyocr.builders.TextBuilder(tesseract_layout=6) self.text = "" def run(self, lang="jpn"): img = ImageGrab.grabclipboard() if img: self.text = self

