Skip to content

Commit 00aa2a4

Browse files
authored
Release 21.2 (#20)
* Code generated from new spec * Version 21.2.0
1 parent d13135f commit 00aa2a4

12 files changed

+89
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Aspose.BarCode Cloud SDK for .NET
22

33
- API version: 3.0
4-
- SDK version: 20.12.0
4+
- SDK version: 21.2.0
55

66
[Aspose.BarCode for Cloud](https://products.aspose.cloud/barcode/cloud) is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.
77

docs/BarcodeApi.md

Lines changed: 8 additions & 4 deletions
Large diffs are not rendered by default.

docs/Pdf417Params.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ Name | Type | Description | Notes
1515
**Truncate** | **bool?** | Whether Pdf417 symbology type of BarCode is truncated (to reduce space). | [optional]
1616
**Pdf417ECIEncoding** | **ECIEncodings** | Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings. | [optional]
1717
**IsReaderInitialization** | **bool?** | Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization | [optional]
18+
**MacroTimeStamp** | **DateTime?** | Macro Pdf417 barcode time stamp | [optional]
19+
**MacroSender** | **string** | Macro Pdf417 barcode sender name | [optional]
20+
**MacroFileSize** | **int?** | Macro Pdf417 file size. The file size field contains the size in bytes of the entire source file | [optional]
21+
**MacroChecksum** | **int?** | Macro Pdf417 barcode checksum. The checksum field contains the value of the 16-bit (2 bytes) CRC checksum using the CCITT-16 polynomial | [optional]
22+
**MacroFileName** | **string** | Macro Pdf417 barcode file name | [optional]
23+
**MacroAddressee** | **string** | Macro Pdf417 barcode addressee name | [optional]
24+
**MacroECIEncoding** | **ECIEncodings** | Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields. | [optional]
1825

1926
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2027

docs/ReaderParams.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Name | Type | Description | Notes
2828
**AllowRegularImage** | **bool?** | Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is. | [optional]
2929
**AllowSaltAndPepperFiltering** | **bool?** | Allows engine to recognize barcodes with salt and pepper noise type. Mode can remove small noise with white and black dots. | [optional]
3030
**AllowWhiteSpotsRemoving** | **bool?** | Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering. | [optional]
31+
**CheckMore1DVariants** | **bool?** | Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. | [optional]
3132
**RegionLikelihoodThresholdPercent** | **double?** | Sets threshold for detected regions that may contain barcodes. Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further. Region likelihood threshold must be between [0.05, 0.9] Use high values for clear images with few barcodes. Use low values for images with many barcodes or for noisy images. Low value may lead to a bigger recognition time. | [optional]
3233
**ScanWindowSizes** | **List<int?>** | Scan window sizes in pixels. Allowed sizes are 10, 15, 20, 25, 30. Scanning with small window size takes more time and provides more accuracy but may fail in detecting very big barcodes. Combining of several window sizes can improve detection quality. | [optional]
3334
**Similarity** | **double?** | Similarity coefficient depends on how homogeneous barcodes are. Use high value for for clear barcodes. Use low values to detect barcodes that ara partly damaged or not lighten evenly. Similarity coefficient must be between [0.5, 0.9] | [optional]

docs/StructuredAppend.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**SequenceIndicator** | **int?** | The index of the QR structured append mode barcode. Index starts from 0. | [optional]
7-
**TotalCount** | **int?** | Gets or sets the QR structured append mode barcodes quantity. Max value is 16. | [optional]
8-
**ParityByte** | **int?** | Gets or sets the QR structured append mode parity data. | [optional]
7+
**TotalCount** | **int?** | QR structured append mode barcodes quantity. Max value is 16. | [optional]
8+
**ParityByte** | **int?** | QR structured append mode parity data. | [optional]
99

1010
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1111

src/Api/BarcodeApi.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ public BarcodeResponseList GetBarcodeRecognize(GetBarcodeRecognizeRequest reques
202202
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowRegularImage", request.AllowRegularImage);
203203
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowSaltAndPepperFiltering", request.AllowSaltAndPepperFiltering);
204204
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowWhiteSpotsRemoving", request.AllowWhiteSpotsRemoving);
205+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "checkMore1DVariants", request.CheckMore1DVariants);
205206
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "regionLikelihoodThresholdPercent", request.RegionLikelihoodThresholdPercent);
206207
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "scanWindowSizes", request.ScanWindowSizes);
207208
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "similarity", request.Similarity);
@@ -269,6 +270,7 @@ public BarcodeResponseList PostBarcodeRecognizeFromUrlOrContent(PostBarcodeRecog
269270
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowRegularImage", request.AllowRegularImage);
270271
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowSaltAndPepperFiltering", request.AllowSaltAndPepperFiltering);
271272
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowWhiteSpotsRemoving", request.AllowWhiteSpotsRemoving);
273+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "checkMore1DVariants", request.CheckMore1DVariants);
272274
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "regionLikelihoodThresholdPercent", request.RegionLikelihoodThresholdPercent);
273275
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "scanWindowSizes", request.ScanWindowSizes);
274276
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "similarity", request.Similarity);

src/Aspose.BarCode.Cloud.Sdk.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Aspose.Barcode for Cloud allows you to control all aspects of the image and barc
1717
<PackageId>Aspose.BarCode-Cloud</PackageId>
1818
<Product>Aspose.BarCode Cloud SDK for .NET</Product>
1919
<PackageIcon>PackageIcon.png</PackageIcon>
20-
<Version>20.12.0</Version>
20+
<Version>21.2.0</Version>
2121
<Authors>asposecloud</Authors>
22-
<AssemblyVersion>20.12.0.0</AssemblyVersion>
22+
<AssemblyVersion>21.2.0.0</AssemblyVersion>
2323
</PropertyGroup>
2424

2525
<ItemGroup>

src/Model/Pdf417Params.cs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ public class Pdf417Params
5454
/// </summary>
5555
public ECIEncodings? Pdf417ECIEncoding { get; set; }
5656

57+
/// <summary>
58+
/// Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields.
59+
/// </summary>
60+
public ECIEncodings? MacroECIEncoding { get; set; }
61+
5762
/// <summary>
5863
/// Height/Width ratio of 2D BarCode module.
5964
/// </summary>
@@ -99,6 +104,36 @@ public class Pdf417Params
99104
/// </summary>
100105
public bool? IsReaderInitialization { get; set; }
101106

107+
/// <summary>
108+
/// Macro Pdf417 barcode time stamp
109+
/// </summary>
110+
public DateTime? MacroTimeStamp { get; set; }
111+
112+
/// <summary>
113+
/// Macro Pdf417 barcode sender name
114+
/// </summary>
115+
public string MacroSender { get; set; }
116+
117+
/// <summary>
118+
/// Macro Pdf417 file size. The file size field contains the size in bytes of the entire source file
119+
/// </summary>
120+
public int? MacroFileSize { get; set; }
121+
122+
/// <summary>
123+
/// Macro Pdf417 barcode checksum. The checksum field contains the value of the 16-bit (2 bytes) CRC checksum using the CCITT-16 polynomial
124+
/// </summary>
125+
public int? MacroChecksum { get; set; }
126+
127+
/// <summary>
128+
/// Macro Pdf417 barcode file name
129+
/// </summary>
130+
public string MacroFileName { get; set; }
131+
132+
/// <summary>
133+
/// Macro Pdf417 barcode addressee name
134+
/// </summary>
135+
public string MacroAddressee { get; set; }
136+
102137
/// <summary>
103138
/// Get the string presentation of the object
104139
/// </summary>
@@ -119,6 +154,13 @@ public override string ToString()
119154
sb.Append(" Truncate: ").Append(Truncate).Append("\n");
120155
sb.Append(" Pdf417ECIEncoding: ").Append(Pdf417ECIEncoding).Append("\n");
121156
sb.Append(" IsReaderInitialization: ").Append(IsReaderInitialization).Append("\n");
157+
sb.Append(" MacroTimeStamp: ").Append(MacroTimeStamp).Append("\n");
158+
sb.Append(" MacroSender: ").Append(MacroSender).Append("\n");
159+
sb.Append(" MacroFileSize: ").Append(MacroFileSize).Append("\n");
160+
sb.Append(" MacroChecksum: ").Append(MacroChecksum).Append("\n");
161+
sb.Append(" MacroFileName: ").Append(MacroFileName).Append("\n");
162+
sb.Append(" MacroAddressee: ").Append(MacroAddressee).Append("\n");
163+
sb.Append(" MacroECIEncoding: ").Append(MacroECIEncoding).Append("\n");
122164
sb.Append("}\n");
123165

124166
return sb.ToString();

src/Model/ReaderParams.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ public class ReaderParams
169169
/// </summary>
170170
public bool? AllowWhiteSpotsRemoving { get; set; }
171171

172+
/// <summary>
173+
/// Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False.
174+
/// </summary>
175+
public bool? CheckMore1DVariants { get; set; }
176+
172177
/// <summary>
173178
/// Sets threshold for detected regions that may contain barcodes. Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further. Region likelihood threshold must be between [0.05, 0.9] Use high values for clear images with few barcodes. Use low values for images with many barcodes or for noisy images. Low value may lead to a bigger recognition time.
174179
/// </summary>
@@ -227,6 +232,7 @@ public override string ToString()
227232
sb.Append(" AllowRegularImage: ").Append(AllowRegularImage).Append("\n");
228233
sb.Append(" AllowSaltAndPepperFiltering: ").Append(AllowSaltAndPepperFiltering).Append("\n");
229234
sb.Append(" AllowWhiteSpotsRemoving: ").Append(AllowWhiteSpotsRemoving).Append("\n");
235+
sb.Append(" CheckMore1DVariants: ").Append(CheckMore1DVariants).Append("\n");
230236
sb.Append(" RegionLikelihoodThresholdPercent: ").Append(RegionLikelihoodThresholdPercent).Append("\n");
231237
sb.Append(" ScanWindowSizes: ").Append(ScanWindowSizes).Append("\n");
232238
sb.Append(" Similarity: ").Append(Similarity).Append("\n");

src/Model/Requests/GetBarcodeRecognizeRequest.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public class GetBarcodeRecognizeRequest
6565
/// <param name="allowRegularImage">Allows engine to recognize regular image without any restorations as main scan. Mode to recognize image as is.</param>
6666
/// <param name="allowSaltAndPepperFiltering">Allows engine to recognize barcodes with salt and pepper noise type. Mode can remove small noise with white and black dots.</param>
6767
/// <param name="allowWhiteSpotsRemoving">Allows engine to recognize image without small white spots as additional scan. Mode helps to recognize noised image as well as median smoothing filtering.</param>
68+
/// <param name="checkMore1DVariants">Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False.</param>
6869
/// <param name="regionLikelihoodThresholdPercent">Sets threshold for detected regions that may contain barcodes. Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further. Region likelihood threshold must be between [0.05, 0.9] Use high values for clear images with few barcodes. Use low values for images with many barcodes or for noisy images. Low value may lead to a bigger recognition time.</param>
6970
/// <param name="scanWindowSizes">Scan window sizes in pixels. Allowed sizes are 10, 15, 20, 25, 30. Scanning with small window size takes more time and provides more accuracy but may fail in detecting very big barcodes. Combining of several window sizes can improve detection quality.</param>
7071
/// <param name="similarity">Similarity coefficient depends on how homogeneous barcodes are. Use high value for for clear barcodes. Use low values to detect barcodes that ara partly damaged or not lighten evenly. Similarity coefficient must be between [0.5, 0.9]</param>
@@ -74,7 +75,7 @@ public class GetBarcodeRecognizeRequest
7475
/// <param name="rectangleRegion"></param>
7576
/// <param name="storage">The image storage.</param>
7677
/// <param name="folder">The image folder.</param>
77-
public GetBarcodeRecognizeRequest(string name, string type = null, string checksumValidation = null, bool? detectEncoding = null, string preset = null, int? rectX = null, int? rectY = null, int? rectWidth = null, int? rectHeight = null, bool? stripFNC = null, int? timeout = null, int? medianSmoothingWindowSize = null, bool? allowMedianSmoothing = null, bool? allowComplexBackground = null, bool? allowDatamatrixIndustrialBarcodes = null, bool? allowDecreasedImage = null, bool? allowDetectScanGap = null, bool? allowIncorrectBarcodes = null, bool? allowInvertImage = null, bool? allowMicroWhiteSpotsRemoving = null, bool? allowOneDFastBarcodesDetector = null, bool? allowOneDWipedBarsRestoration = null, bool? allowQRMicroQrRestoration = null, bool? allowRegularImage = null, bool? allowSaltAndPepperFiltering = null, bool? allowWhiteSpotsRemoving = null, double? regionLikelihoodThresholdPercent = null, List<int?> scanWindowSizes = null, double? similarity = null, bool? skipDiagonalSearch = null, bool? readTinyBarcodes = null, string australianPostEncodingTable = null, string rectangleRegion = null, string storage = null, string folder = null)
78+
public GetBarcodeRecognizeRequest(string name, string type = null, string checksumValidation = null, bool? detectEncoding = null, string preset = null, int? rectX = null, int? rectY = null, int? rectWidth = null, int? rectHeight = null, bool? stripFNC = null, int? timeout = null, int? medianSmoothingWindowSize = null, bool? allowMedianSmoothing = null, bool? allowComplexBackground = null, bool? allowDatamatrixIndustrialBarcodes = null, bool? allowDecreasedImage = null, bool? allowDetectScanGap = null, bool? allowIncorrectBarcodes = null, bool? allowInvertImage = null, bool? allowMicroWhiteSpotsRemoving = null, bool? allowOneDFastBarcodesDetector = null, bool? allowOneDWipedBarsRestoration = null, bool? allowQRMicroQrRestoration = null, bool? allowRegularImage = null, bool? allowSaltAndPepperFiltering = null, bool? allowWhiteSpotsRemoving = null, bool? checkMore1DVariants = null, double? regionLikelihoodThresholdPercent = null, List<int?> scanWindowSizes = null, double? similarity = null, bool? skipDiagonalSearch = null, bool? readTinyBarcodes = null, string australianPostEncodingTable = null, string rectangleRegion = null, string storage = null, string folder = null)
7879
{
7980
this.name = name;
8081
this.Type = type;
@@ -102,6 +103,7 @@ public GetBarcodeRecognizeRequest(string name, string type = null, string checks
102103
this.AllowRegularImage = allowRegularImage;
103104
this.AllowSaltAndPepperFiltering = allowSaltAndPepperFiltering;
104105
this.AllowWhiteSpotsRemoving = allowWhiteSpotsRemoving;
106+
this.CheckMore1DVariants = checkMore1DVariants;
105107
this.RegionLikelihoodThresholdPercent = regionLikelihoodThresholdPercent;
106108
this.ScanWindowSizes = scanWindowSizes;
107109
this.Similarity = similarity;
@@ -243,6 +245,11 @@ public GetBarcodeRecognizeRequest(string name, string type = null, string checks
243245
/// </summary>
244246
public bool? AllowWhiteSpotsRemoving { get; set; }
245247

248+
/// <summary>
249+
/// Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False.
250+
/// </summary>
251+
public bool? CheckMore1DVariants { get; set; }
252+
246253
/// <summary>
247254
/// Sets threshold for detected regions that may contain barcodes. Value 0.7 means that bottom 70% of possible regions are filtered out and not processed further. Region likelihood threshold must be between [0.05, 0.9] Use high values for clear images with few barcodes. Use low values for images with many barcodes or for noisy images. Low value may lead to a bigger recognition time.
248255
/// </summary>

0 commit comments

Comments
 (0)