Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ JPGs will allways be OCRd.

Without Tesseract installed, you'll still be able to extract text from documents, but you won't be able to automatically OCR them.

- Ruby 1.9.x

Ubuntu comes with ruby 1.8. You can install ruby 1.9.1 like this:

sudo apt-get install ruby1.9.1
sudo update-alternatives --set ruby /usr/bin/ruby1.9.1

**Typical usage**

ruby docs2csv.rb -r -o directory-to-scan output.csv
Expand Down
2 changes: 1 addition & 1 deletion docs2csv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Requires tesseract and poppler for OCR functionality

require 'rubygems'
require 'Digest'
require 'digest'
require 'tmpdir'
require 'ostruct'
require 'optparse'
Expand Down