0
2

More than 1 year has passed since last update.

Kindleの文字部分のみを自動で切り取って画像で保存していくPGM

Last updated at Posted at 2022-10-03

Kindleの文字部分のみを自動で切り取って画像で保存していくPGM

Kindleの文字部分のみを自動で切り取って画像で保存していくPGMをpythonで作りました
githubURL: https://github.com/NanjoMiyako/KindoleTextTyusyutu
使い方
github上のTextTyusyutu-KoukaiYou.pyの各変数の値をscn1, scn2, scn3に基づいて設定して から、kindleのページを文字画像をとる位置に設定し、取得する位置ページ数を positionCountの変数を適宜変えます。そして、画面を右半分:Kindle画面、 左半分:paint画面にしてから、TextTyusyutu-KoukaiYou.pyを実行します。 なお、ペイントは「名前を付けて保存」で予め保存場所を適宜設定しておきます。
参考にしたサイト
【Python】pyautoguiを使ったキーボード操作、マウス操作 - プログラミング勉強の備忘録
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2