-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
require 'ocr_space'
resource = OcrSpace::Resource.new(apikey: "MyApiKey") #My actual api key
results = resource.clean_convert file: "/Users/Example/Desktop/image.jpg" #the path is correct
puts results
Traceback (most recent call last):
1: from ./ruby.rb:5:in `<main>'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/ocr_space-2.3.7/lib/ocr_space/convert.rb:33:in `clean_convert': undefined method `[]' for nil:NilClass (NoMethodError)
I've got some problems when I try to convert an image from file upload, but when I convert it from url it works perfectly
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels