Skip to content

Commit

Permalink
Added 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudmersive committed Jul 6, 2019
1 parent 1e52688 commit b11e861
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The powerful Optical Character Recognition (OCR) APIs let you convert scanned im
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: v1
- Package version: 2.0.2
- Package version: 2.0.3
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down
24 changes: 12 additions & 12 deletions cloudmersive_ocr_api_client/api/preprocessing_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def preprocessing_binarize(self, image_file, **kwargs): # noqa: E501
:param async_req bool
:param file image_file: Image file to perform OCR on. Common file formats such as PNG, JPEG are supported. (required)
:return: object
:return: str
If the method is called asynchronously,
returns the request thread.
"""
Expand All @@ -66,7 +66,7 @@ def preprocessing_binarize_with_http_info(self, image_file, **kwargs): # noqa:
:param async_req bool
:param file image_file: Image file to perform OCR on. Common file formats such as PNG, JPEG are supported. (required)
:return: object
:return: str
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -124,7 +124,7 @@ def preprocessing_binarize_with_http_info(self, image_file, **kwargs): # noqa:
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='object', # noqa: E501
response_type='str', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
Expand All @@ -143,7 +143,7 @@ def preprocessing_binarize_advanced(self, image_file, **kwargs): # noqa: E501
:param async_req bool
:param file image_file: Image file to perform OCR on. Common file formats such as PNG, JPEG are supported. (required)
:return: object
:return: str
If the method is called asynchronously,
returns the request thread.
"""
Expand All @@ -165,7 +165,7 @@ def preprocessing_binarize_advanced_with_http_info(self, image_file, **kwargs):
:param async_req bool
:param file image_file: Image file to perform OCR on. Common file formats such as PNG, JPEG are supported. (required)
:return: object
:return: str
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -223,7 +223,7 @@ def preprocessing_binarize_advanced_with_http_info(self, image_file, **kwargs):
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='object', # noqa: E501
response_type='str', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
Expand Down Expand Up @@ -341,7 +341,7 @@ def preprocessing_unrotate(self, image_file, **kwargs): # noqa: E501
:param async_req bool
:param file image_file: Image file to perform OCR on. Common file formats such as PNG, JPEG are supported. (required)
:return: object
:return: str
If the method is called asynchronously,
returns the request thread.
"""
Expand All @@ -363,7 +363,7 @@ def preprocessing_unrotate_with_http_info(self, image_file, **kwargs): # noqa:
:param async_req bool
:param file image_file: Image file to perform OCR on. Common file formats such as PNG, JPEG are supported. (required)
:return: object
:return: str
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -421,7 +421,7 @@ def preprocessing_unrotate_with_http_info(self, image_file, **kwargs): # noqa:
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='object', # noqa: E501
response_type='str', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
Expand All @@ -440,7 +440,7 @@ def preprocessing_unskew(self, image_file, **kwargs): # noqa: E501
:param async_req bool
:param file image_file: Image file to perform OCR on. Common file formats such as PNG, JPEG are supported. (required)
:return: object
:return: str
If the method is called asynchronously,
returns the request thread.
"""
Expand All @@ -462,7 +462,7 @@ def preprocessing_unskew_with_http_info(self, image_file, **kwargs): # noqa: E5
:param async_req bool
:param file image_file: Image file to perform OCR on. Common file formats such as PNG, JPEG are supported. (required)
:return: object
:return: str
If the method is called asynchronously,
returns the request thread.
"""
Expand Down Expand Up @@ -520,7 +520,7 @@ def preprocessing_unskew_with_http_info(self, image_file, **kwargs): # noqa: E5
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='object', # noqa: E501
response_type='str', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
Expand Down
2 changes: 1 addition & 1 deletion cloudmersive_ocr_api_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Swagger-Codegen/2.0.2/python'
self.user_agent = 'Swagger-Codegen/2.0.3/python'

def __del__(self):
if self._pool is not None:
Expand Down
2 changes: 1 addition & 1 deletion cloudmersive_ocr_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1\n"\
"SDK Package Version: 2.0.2".\
"SDK Package Version: 2.0.3".\
format(env=sys.platform, pyversion=sys.version)
16 changes: 8 additions & 8 deletions docs/PreprocessingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method | HTTP request | Description


# **preprocessing_binarize**
> object preprocessing_binarize(image_file)
> str preprocessing_binarize(image_file)
Convert an image of text into a binarized (light and dark) view

Expand Down Expand Up @@ -52,7 +52,7 @@ Name | Type | Description | Notes

### Return type

**object**
**str**

### Authorization

Expand All @@ -66,7 +66,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **preprocessing_binarize_advanced**
> object preprocessing_binarize_advanced(image_file)
> str preprocessing_binarize_advanced(image_file)
Convert an image of text into a binary (light and dark) view with ML

Expand Down Expand Up @@ -106,7 +106,7 @@ Name | Type | Description | Notes

### Return type

**object**
**str**

### Authorization

Expand Down Expand Up @@ -174,7 +174,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **preprocessing_unrotate**
> object preprocessing_unrotate(image_file)
> str preprocessing_unrotate(image_file)
Detect and unrotate a document image

Expand Down Expand Up @@ -214,7 +214,7 @@ Name | Type | Description | Notes

### Return type

**object**
**str**

### Authorization

Expand All @@ -228,7 +228,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **preprocessing_unskew**
> object preprocessing_unskew(image_file)
> str preprocessing_unskew(image_file)
Detect and unskew a photo of a document

Expand Down Expand Up @@ -268,7 +268,7 @@ Name | Type | Description | Notes

### Return type

**object**
**str**

### Authorization

Expand Down
2 changes: 1 addition & 1 deletion packageconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"projectName" : "cloudmersive_ocr_api_client",
"packageName" : "cloudmersive_ocr_api_client",
"packageVersion": "2.0.2"
"packageVersion": "2.0.3"
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "cloudmersive_ocr_api_client"
VERSION = "2.0.2"
VERSION = "2.0.3"
# To install the library, run the following
#
# python setup.py install
Expand Down

0 comments on commit b11e861

Please sign in to comment.