Skip to content

Commit

Permalink
bin/tesseract: --psm should be a number
Browse files Browse the repository at this point in the history
  • Loading branch information
yhslai authored and meh committed Oct 11, 2012
1 parent 2b4cde5 commit 596730d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/tesseract.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
end

o.on '-p', '--psm MODE', 'page segmentation mode to use' do |value|
options[:psm] = value
options[:psm] = value.to_i
end

o.on '-u', '--unlv', 'output in UNLV format' do
Expand Down

0 comments on commit 596730d

Please sign in to comment.