exe/ocrspace in ocr_space-0.2.5 vs exe/ocrspace in ocr_space-0.2.6
- old
+ new
@@ -5,11 +5,10 @@
if ARGV.empty?
puts "You need to mention the image path"
else
begin
result = OcrSpace::FromFile.new(files: ARGV[0])
+ puts result.text_data
rescue
puts "Something went wrong, Please try again."
end
end
-
-puts result.text_data