./spec/api/preprocessing_api_spec.rb in cloudmersive-ocr-api-client-1.3.4 vs ./spec/api/preprocessing_api_spec.rb in cloudmersive-ocr-api-client-1.3.5

- old
+ new

@@ -4,11 +4,11 @@ #The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text. OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.3.1 +Swagger Codegen version: unset =end require 'spec_helper' require 'json' @@ -31,15 +31,39 @@ expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::PreprocessingApi) end end # unit tests for preprocessing_binarize - # Convert an image of text into a binary (light and dark) view - # Perform an advanced adaptive, machine learning-based binarization algorithm on the input image to prepare it for further OCR operations. + # 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] 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 + + # 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] + 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 + + # unit tests for preprocessing_get_page_angle + # Get the angle of the page / document / receipt + # Analyzes a photo or image of a document and identifies the rotation angle of the page. + # @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 [GetPageAngleResult] + describe 'preprocessing_get_page_angle test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end