Discussion
Loading...

Post

  • Log in
  • Sign up
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Federation Bot
Federation Bot
@Federation_Bot  ·  activity timestamp 7 months ago

Got mad at Amazon breaking the ability to decrypt my library books via Kindle for PC and resurrected an old technique:

  1. Screen recording of Kindle for PC
  2. hit the space bar as fast as humanly possible to page through the entire book in like a minute
  3. use ffmpeg to remove duplicate frames from the resultant video
  4. use ffmpeg to dump out each frame/page to a separate file named after the page number
  5. use tesseract to do OCR on each page and dump that output into a single text file

This works ridiculously well.

(Simply holding down the space bar slows down page rendering, resulting in captures of partially rendered pages, which thwarts the duplicate detection. I'll probably improve this by firing my own spacebar press event sequentially.)

  • Copy link
  • Flag this post
  • Block
Instance logo
bonfire.cafe
Log in Create account
Banner for bonfire.cafe

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire bovenjan · 1.0.3-alpha.10 no JS en
Federation disabled
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct

Install bonfire.cafe

Get the full app experience

1 Tap Share 2 Add to Home Screen