diff --git a/README.md b/README.md index 75082c9..72b46f5 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/) - API version: 3.0 -- Package version: 23.10.0 +- Package version: 23.11.0 ## Demo applications diff --git a/aspose_barcode_cloud/api/barcode_api.py b/aspose_barcode_cloud/api/barcode_api.py index f775f85..7aefe99 100644 --- a/aspose_barcode_cloud/api/barcode_api.py +++ b/aspose_barcode_cloud/api/barcode_api.py @@ -466,7 +466,7 @@ def get_barcode_recognize( :param int rect_width: Set Width of area for recognition. # noqa: E501 :param int rect_height: Set Height of area for recognition. # noqa: E501 :param bool strip_fnc: Value indicating whether FNC symbol strip must be done. # noqa: E501 - :param int timeout: Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501 + :param int timeout: Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501 :param int median_smoothing_window_size: Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. # noqa: E501 :param bool allow_median_smoothing: Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. # noqa: E501 :param bool allow_complex_background: Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. # noqa: E501 @@ -834,7 +834,7 @@ def post_barcode_recognize_from_url_or_content( :param int rect_width: Set Width of area for recognition. # noqa: E501 :param int rect_height: Set Height of area for recognition. # noqa: E501 :param bool strip_fnc: Value indicating whether FNC symbol strip must be done. # noqa: E501 - :param int timeout: Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501 + :param int timeout: Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501 :param int median_smoothing_window_size: Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. # noqa: E501 :param bool allow_median_smoothing: Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. # noqa: E501 :param bool allow_complex_background: Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. # noqa: E501 diff --git a/aspose_barcode_cloud/api_client.py b/aspose_barcode_cloud/api_client.py index 8086987..db377aa 100644 --- a/aspose_barcode_cloud/api_client.py +++ b/aspose_barcode_cloud/api_client.py @@ -90,13 +90,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook self.rest_client = RESTClientObject(configuration) self.default_headers = { "x-aspose-client": "python sdk", - "x-aspose-client-version": "23.10.0", + "x-aspose-client-version": "23.11.0", } if header_name is not None: self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = "Aspose-Barcode-SDK/23.10.0/python" + self.user_agent = "Aspose-Barcode-SDK/23.11.0/python" def __del__(self): self.rest_client.close() diff --git a/aspose_barcode_cloud/configuration.py b/aspose_barcode_cloud/configuration.py index 847e066..4785e51 100644 --- a/aspose_barcode_cloud/configuration.py +++ b/aspose_barcode_cloud/configuration.py @@ -286,7 +286,7 @@ def to_debug_report(self): "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 3.0\n" - "SDK Package Version: 23.10.0".format(env=sys.platform, pyversion=sys.version) + "SDK Package Version: 23.11.0".format(env=sys.platform, pyversion=sys.version) ) @staticmethod diff --git a/aspose_barcode_cloud/models/decode_barcode_type.py b/aspose_barcode_cloud/models/decode_barcode_type.py index a4f6fe8..aba2232 100644 --- a/aspose_barcode_cloud/models/decode_barcode_type.py +++ b/aspose_barcode_cloud/models/decode_barcode_type.py @@ -124,6 +124,7 @@ class DecodeBarcodeType(object): GS1HANXIN = "GS1HanXin" GS1AZTEC = "GS1Aztec" GS1COMPOSITEBAR = "GS1CompositeBar" + GS1MICROPDF417 = "GS1MicroPdf417" """ Attributes: diff --git a/aspose_barcode_cloud/models/encode_barcode_type.py b/aspose_barcode_cloud/models/encode_barcode_type.py index 08d6149..95da3bc 100644 --- a/aspose_barcode_cloud/models/encode_barcode_type.py +++ b/aspose_barcode_cloud/models/encode_barcode_type.py @@ -112,6 +112,7 @@ class EncodeBarcodeType(object): HANXIN = "HanXin" GS1HANXIN = "GS1HanXin" GS1AZTEC = "GS1Aztec" + GS1MICROPDF417 = "GS1MicroPdf417" """ Attributes: diff --git a/aspose_barcode_cloud/models/pdf417_params.py b/aspose_barcode_cloud/models/pdf417_params.py index 11d1ac0..8b8606a 100644 --- a/aspose_barcode_cloud/models/pdf417_params.py +++ b/aspose_barcode_cloud/models/pdf417_params.py @@ -66,7 +66,10 @@ class Pdf417Params(object): "macro_addressee": "str", "macro_eci_encoding": "ECIEncodings", "code128_emulation": "Code128Emulation", + "is_code128_emulation": "bool", "pdf417_macro_terminator": "Pdf417MacroTerminator", + "is_linked": "bool", + "macro_characters": "MacroCharacter", } attribute_map = { @@ -90,7 +93,10 @@ class Pdf417Params(object): "macro_addressee": "MacroAddressee", "macro_eci_encoding": "MacroECIEncoding", "code128_emulation": "Code128Emulation", + "is_code128_emulation": "IsCode128Emulation", "pdf417_macro_terminator": "Pdf417MacroTerminator", + "is_linked": "IsLinked", + "macro_characters": "MacroCharacters", } def __init__( @@ -115,7 +121,10 @@ def __init__( macro_addressee=None, macro_eci_encoding=None, code128_emulation=None, + is_code128_emulation=None, pdf417_macro_terminator=None, + is_linked=None, + macro_characters=None, ): # noqa: E501 """Pdf417Params - a model defined in Swagger""" # noqa: E501 @@ -139,7 +148,10 @@ def __init__( self._macro_addressee = None self._macro_eci_encoding = None self._code128_emulation = None + self._is_code128_emulation = None self._pdf417_macro_terminator = None + self._is_linked = None + self._macro_characters = None self.discriminator = None if aspect_ratio is not None: @@ -182,8 +194,14 @@ def __init__( self.macro_eci_encoding = macro_eci_encoding if code128_emulation is not None: self.code128_emulation = code128_emulation + if is_code128_emulation is not None: + self.is_code128_emulation = is_code128_emulation if pdf417_macro_terminator is not None: self.pdf417_macro_terminator = pdf417_macro_terminator + if is_linked is not None: + self.is_linked = is_linked + if macro_characters is not None: + self.macro_characters = macro_characters @property def aspect_ratio(self): @@ -630,7 +648,7 @@ def macro_eci_encoding(self, macro_eci_encoding): def code128_emulation(self): """Gets the code128_emulation of this Pdf417Params. # noqa: E501 - Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. # noqa: E501 + DEPRECATED: This property is obsolete and will be removed in future releases. See samples of using new parameters on https://releases.aspose.com/barcode/net/release-notes/2023/aspose-barcode-for-net-23-10-release-notes/ Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. # noqa: E501 :return: The code128_emulation of this Pdf417Params. # noqa: E501 :rtype: Code128Emulation @@ -641,14 +659,41 @@ def code128_emulation(self): def code128_emulation(self, code128_emulation): """Sets the code128_emulation of this Pdf417Params. - Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. # noqa: E501 + DEPRECATED: This property is obsolete and will be removed in future releases. See samples of using new parameters on https://releases.aspose.com/barcode/net/release-notes/2023/aspose-barcode-for-net-23-10-release-notes/ Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. # noqa: E501 :param code128_emulation: The code128_emulation of this Pdf417Params. # noqa: E501 :type: Code128Emulation """ + warnings.warn( + "Property 'code128_emulation' is deprecated. This property is obsolete and will be removed in future releases. See samples of using new parameters on https://releases.aspose.com/barcode/net/release-notes/2023/aspose-barcode-for-net-23-10-release-notes/ Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes.", # noqa: E501 + category=DeprecationWarning, + ) self._code128_emulation = code128_emulation + @property + def is_code128_emulation(self): + """Gets the is_code128_emulation of this Pdf417Params. # noqa: E501 + + Can be used only with MicroPdf417 and encodes Code 128 emulation modes. Can encode FNC1 in second position modes 908 and 909, also can encode 910 and 911 which just indicate that recognized MicroPdf417 can be interpret as Code 128. # noqa: E501 + + :return: The is_code128_emulation of this Pdf417Params. # noqa: E501 + :rtype: bool + """ + return self._is_code128_emulation + + @is_code128_emulation.setter + def is_code128_emulation(self, is_code128_emulation): + """Sets the is_code128_emulation of this Pdf417Params. + + Can be used only with MicroPdf417 and encodes Code 128 emulation modes. Can encode FNC1 in second position modes 908 and 909, also can encode 910 and 911 which just indicate that recognized MicroPdf417 can be interpret as Code 128. # noqa: E501 + + :param is_code128_emulation: The is_code128_emulation of this Pdf417Params. # noqa: E501 + :type: bool + """ + + self._is_code128_emulation = is_code128_emulation + @property def pdf417_macro_terminator(self): """Gets the pdf417_macro_terminator of this Pdf417Params. # noqa: E501 @@ -672,6 +717,52 @@ def pdf417_macro_terminator(self, pdf417_macro_terminator): self._pdf417_macro_terminator = pdf417_macro_terminator + @property + def is_linked(self): + """Gets the is_linked of this Pdf417Params. # noqa: E501 + + Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes. With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes. With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC. # noqa: E501 + + :return: The is_linked of this Pdf417Params. # noqa: E501 + :rtype: bool + """ + return self._is_linked + + @is_linked.setter + def is_linked(self, is_linked): + """Sets the is_linked of this Pdf417Params. + + Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes. With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes. With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC. # noqa: E501 + + :param is_linked: The is_linked of this Pdf417Params. # noqa: E501 + :type: bool + """ + + self._is_linked = is_linked + + @property + def macro_characters(self): + """Gets the macro_characters of this Pdf417Params. # noqa: E501 + + Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with MicroPdf417 and encodes 916 and 917 MicroPdf417 modes. Default value: MacroCharacters.None. # noqa: E501 + + :return: The macro_characters of this Pdf417Params. # noqa: E501 + :rtype: MacroCharacter + """ + return self._macro_characters + + @macro_characters.setter + def macro_characters(self, macro_characters): + """Sets the macro_characters of this Pdf417Params. + + Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with MicroPdf417 and encodes 916 and 917 MicroPdf417 modes. Default value: MacroCharacters.None. # noqa: E501 + + :param macro_characters: The macro_characters of this Pdf417Params. # noqa: E501 + :type: MacroCharacter + """ + + self._macro_characters = macro_characters + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/aspose_barcode_cloud/models/reader_params.py b/aspose_barcode_cloud/models/reader_params.py index a9b71f5..6d5cae1 100644 --- a/aspose_barcode_cloud/models/reader_params.py +++ b/aspose_barcode_cloud/models/reader_params.py @@ -480,7 +480,7 @@ def strip_fnc(self, strip_fnc): def timeout(self): """Gets the timeout of this ReaderParams. # noqa: E501 - Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501 + Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501 :return: The timeout of this ReaderParams. # noqa: E501 :rtype: int @@ -491,7 +491,7 @@ def timeout(self): def timeout(self, timeout): """Sets the timeout of this ReaderParams. - Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501 + Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501 :param timeout: The timeout of this ReaderParams. # noqa: E501 :type: int diff --git a/docs/BarcodeApi.md b/docs/BarcodeApi.md index 97e3688..16efca2 100644 --- a/docs/BarcodeApi.md +++ b/docs/BarcodeApi.md @@ -160,7 +160,7 @@ rect_y = 56 # int | Set Y of top left corner of area for recognition. (optional) rect_width = 56 # int | Set Width of area for recognition. (optional) rect_height = 56 # int | Set Height of area for recognition. (optional) strip_fnc = True # bool | Value indicating whether FNC symbol strip must be done. (optional) -timeout = 56 # int | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. (optional) +timeout = 56 # int | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. (optional) median_smoothing_window_size = 56 # int | Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. (optional) allow_median_smoothing = True # bool | Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. (optional) allow_complex_background = True # bool | Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. (optional) @@ -211,7 +211,7 @@ Name | Type | Description | Notes **rect_width** | **int**| Set Width of area for recognition. | [optional] **rect_height** | **int**| Set Height of area for recognition. | [optional] **strip_fnc** | **bool**| Value indicating whether FNC symbol strip must be done. | [optional] - **timeout** | **int**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] + **timeout** | **int**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] **median_smoothing_window_size** | **int**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional] **allow_median_smoothing** | **bool**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional] **allow_complex_background** | **bool**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional] @@ -282,7 +282,7 @@ rect_y = 56 # int | Set Y of top left corner of area for recognition. (optional) rect_width = 56 # int | Set Width of area for recognition. (optional) rect_height = 56 # int | Set Height of area for recognition. (optional) strip_fnc = True # bool | Value indicating whether FNC symbol strip must be done. (optional) -timeout = 56 # int | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. (optional) +timeout = 56 # int | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. (optional) median_smoothing_window_size = 56 # int | Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. (optional) allow_median_smoothing = True # bool | Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. (optional) allow_complex_background = True # bool | Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. (optional) @@ -332,7 +332,7 @@ Name | Type | Description | Notes **rect_width** | **int**| Set Width of area for recognition. | [optional] **rect_height** | **int**| Set Height of area for recognition. | [optional] **strip_fnc** | **bool**| Value indicating whether FNC symbol strip must be done. | [optional] - **timeout** | **int**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] + **timeout** | **int**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] **median_smoothing_window_size** | **int**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional] **allow_median_smoothing** | **bool**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional] **allow_complex_background** | **bool**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional] diff --git a/docs/Code128Emulation.md b/docs/Code128Emulation.md index 61512b2..bc553b8 100644 --- a/docs/Code128Emulation.md +++ b/docs/Code128Emulation.md @@ -1,6 +1,6 @@ # Code128Emulation - +DEPRECATED. This enum will be removed in future releases Function codewords for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. ## Allowable values * **Code128Emulation.NONE** diff --git a/docs/DecodeBarcodeType.md b/docs/DecodeBarcodeType.md index d155e85..08af5d5 100644 --- a/docs/DecodeBarcodeType.md +++ b/docs/DecodeBarcodeType.md @@ -86,5 +86,6 @@ See DecodeType * DecodeBarcodeType.GS1HANXIN * DecodeBarcodeType.GS1AZTEC * DecodeBarcodeType.GS1COMPOSITEBAR +* DecodeBarcodeType.GS1MICROPDF417 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EncodeBarcodeType.md b/docs/EncodeBarcodeType.md index cc55803..4461c05 100644 --- a/docs/EncodeBarcodeType.md +++ b/docs/EncodeBarcodeType.md @@ -74,5 +74,6 @@ See EncodeTypes * EncodeBarcodeType.HANXIN * EncodeBarcodeType.GS1HANXIN * EncodeBarcodeType.GS1AZTEC +* EncodeBarcodeType.GS1MICROPDF417 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Pdf417Params.md b/docs/Pdf417Params.md index e74e737..03bf10d 100644 --- a/docs/Pdf417Params.md +++ b/docs/Pdf417Params.md @@ -25,7 +25,10 @@ Name | Type | Description | Notes **macro_file_name** | **str** | Macro Pdf417 barcode file name | [optional] **macro_addressee** | **str** | Macro Pdf417 barcode addressee name | [optional] **macro_eci_encoding** | [**ECIEncodings**](ECIEncodings.md) | Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields. | [optional] -**code128_emulation** | [**Code128Emulation**](Code128Emulation.md) | Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. | [optional] +**code128_emulation** | [**Code128Emulation**](Code128Emulation.md) | DEPRECATED: This property is obsolete and will be removed in future releases. See samples of using new parameters on https://releases.aspose.com/barcode/net/release-notes/2023/aspose-barcode-for-net-23-10-release-notes/ Function codeword for Code 128 emulation. Applied for MicroPDF417 only. Ignored for PDF417 and MacroPDF417 barcodes. | [optional] +**is_code128_emulation** | **bool** | Can be used only with MicroPdf417 and encodes Code 128 emulation modes. Can encode FNC1 in second position modes 908 and 909, also can encode 910 and 911 which just indicate that recognized MicroPdf417 can be interpret as Code 128. | [optional] **pdf417_macro_terminator** | [**Pdf417MacroTerminator**](Pdf417MacroTerminator.md) | Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417. | [optional] +**is_linked** | **bool** | Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes. With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes. With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC. | [optional] +**macro_characters** | [**MacroCharacter**](MacroCharacter.md) | Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with MicroPdf417 and encodes 916 and 917 MicroPdf417 modes. Default value: MacroCharacters.None. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ReaderParams.md b/docs/ReaderParams.md index 512c065..976cd56 100644 --- a/docs/ReaderParams.md +++ b/docs/ReaderParams.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **rect_width** | **int** | Set Width of area for recognition. | [optional] **rect_height** | **int** | Set Height of area for recognition. | [optional] **strip_fnc** | **bool** | Value indicating whether FNC symbol strip must be done. | [optional] -**timeout** | **int** | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] +**timeout** | **int** | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional] **median_smoothing_window_size** | **int** | Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional] **allow_median_smoothing** | **bool** | Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional] **allow_complex_background** | **bool** | Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional] diff --git a/setup.py b/setup.py index 2e5d6ed..0838251 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ from setuptools import setup, find_packages NAME = "aspose-barcode-cloud" -VERSION = "23.10.0" +VERSION = "23.11.0" # To install the library, run the following # # python setup.py install @@ -37,10 +37,11 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools -REQUIRES = ["certifi>=2017.4.17", "python-dateutil>=2.1", "six>=1.10", "urllib3 >= 1.21.1, <2.0"] - here = os.path.abspath(os.path.dirname(__file__)) +with open(os.path.join(here, "requirements.txt"), "rt") as f: + REQUIRES = list(map(str.strip, f.readlines())) + with open(os.path.join(here, "README.md"), "rt") as f: long_description = f.read()