./spec/api/preprocessing_api_spec.rb in cloudmersive-ocr-api-client-1.3.5 vs ./spec/api/preprocessing_api_spec.rb in cloudmersive-ocr-api-client-1.3.7
- old
+ new
@@ -35,11 +35,11 @@
# unit tests for preprocessing_binarize
# Convert an image of text into a binarized (light and dark) view
# Perform an adaptive binarization algorithm on the input image to prepare it for further OCR operations.
# @param image_file Image file to perform OCR on. Common file formats such as PNG, JPEG are supported.
# @param [Hash] opts the optional parameters
- # @return [Object]
+ # @return [String]
describe 'preprocessing_binarize test' do
it "should work" do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
@@ -47,11 +47,11 @@
# unit tests for preprocessing_binarize_advanced
# Convert an image of text into a binary (light and dark) view with ML
# Perform an advanced adaptive, Deep Learning-based binarization algorithm on the input image to prepare it for further OCR operations. Provides enhanced accuracy than adaptive binarization. Image will be upsampled to 300 DPI if it has a DPI below 300.
# @param image_file Image file to perform OCR on. Common file formats such as PNG, JPEG are supported.
# @param [Hash] opts the optional parameters
- # @return [Object]
+ # @return [String]
describe 'preprocessing_binarize_advanced test' do
it "should work" do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
@@ -71,11 +71,11 @@
# unit tests for preprocessing_unrotate
# Detect and unrotate a document image
# Detect and unrotate an image of a document (e.g. that was scanned at an angle). Great for document scanning applications; once unskewed, this image is perfect for converting to PDF using the Convert API or optical character recognition using the OCR API.
# @param image_file Image file to perform OCR on. Common file formats such as PNG, JPEG are supported.
# @param [Hash] opts the optional parameters
- # @return [Object]
+ # @return [String]
describe 'preprocessing_unrotate test' do
it "should work" do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
@@ -83,10 +83,10 @@
# unit tests for preprocessing_unskew
# Detect and unskew a photo of a document
# Detect and unskew a photo of a document (e.g. taken on a cell phone) into a perfectly square image. Great for document scanning applications; once unskewed, this image is perfect for converting to PDF using the Convert API or optical character recognition using the OCR API.
# @param image_file Image file to perform OCR on. Common file formats such as PNG, JPEG are supported.
# @param [Hash] opts the optional parameters
- # @return [Object]
+ # @return [String]
describe 'preprocessing_unskew test' do
it "should work" do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end