Javascript OCR Pdf-to-text

PDF-TO-TEXT

PDF-to-Text is an OCR, Pure Javascript by tesseract.js api, mobile-ready that convert PDF text-image to text.

Tech

PDF-to-Text uses a number of open source projects to work properly:

  • [JavaScript] – awesome!
  • [HTML] – HTML enhanced for web apps!
  • [CSS] – Fence!
  • [Magic] – that”s nice!

Installation

PDF-to-Text requires Node.js v4+ or any server enviroment to run.

Start the server.

$ npm install http-server -g
$ cd pdf-to-text-master
$ http-server

Frum is right again

David Frum is right again. This is from a blog post he wrote in 2010.

When Rush Limbaugh said that he wanted President Obama to fail, he was intelligently explaining his own interests. What he omitted to say—but what is equally true—is that he also wants Republicans to fail. If Republicans succeed—if they govern successfully in office and negotiate attractive compromises out of office—Rush’s listeners get less angry. And if they are less angry, they listen to the radio less, and hear fewer ads for Sleepnumber beds.

That’s not just true of Limbaugh, but of all the press. It’s the distortion of getting our news from businesses who rep their own interests first. Their interests are not ours. For all the evidence you need, consider who sleeps in the White House.

The chickens have come home to roost. Loops have closed. Sowing happened ten years ago, reaping now. It’s time to step back from the failed theory that Repubs would know what to do if they won it all.