lib/docsplit/command_line.rb in burisu-docsplit-0.7.7 vs lib/docsplit/command_line.rb in burisu-docsplit-0.7.8
- old
+ new
@@ -94,10 +94,12 @@
opts.on('--no-clean', 'disable cleaning of OCR\'d text') do |c|
@options[:clean] = false
end
opts.on('-l', '--language [LANGUAGE]', 'set the language (ISO 639-2/T code) for text extraction') do |l|
@options[:language] = l
- @options[:clean] = false
+ end
+ opts.on('--no-orientation-detection', 'turn off automatic orientation detection in tesseract') do |n|
+ @options[:detect_orientation] = false
end
opts.on('-r', '--rolling', 'generate images from each previous image') do |r|
@options[:rolling] = true
end
opts.on_tail('-v', '--version', 'display docsplit version') do
\ No newline at end of file