Skip to content

Commit f5c299d

Browse files
authored
Release 21.10 (#29)
1 parent 6bd972e commit f5c299d

File tree

8 files changed

+68
-11
lines changed

8 files changed

+68
-11
lines changed

README.md

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

3+
| WARNING: **Update SDK to version >= 21.9.0**: All SDK version < 21.9.0 will stop working soon! |
4+
| ---------------------------------------------------------------------------------------------- |
5+
36
[![License](https://img.shields.io/github/license/aspose-barcode-cloud/aspose-barcode-cloud-dotnet)](LICENSE)
47
[![.NET Core](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-dotnet/actions/workflows/dotnet-core.yml/badge.svg)](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-dotnet/actions/workflows/dotnet-core.yml)
58
[![Nuget](https://img.shields.io/nuget/v/Aspose.BarCode-Cloud)](https://www.nuget.org/packages/Aspose.BarCode-Cloud/)
69

710
- API version: 3.0
8-
- SDK version: 21.9.0
11+
- SDK version: 21.10.0
912

1013
## Demo applications
1114

docs/BarcodeApi.md

Lines changed: 14 additions & 6 deletions
Large diffs are not rendered by default.

docs/ReaderParams.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ Name | Type | Description | Notes
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]
3131
**CheckMore1DVariants** | **bool?** | Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. | [optional]
32+
**FastScanOnly** | **bool?** | Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False. | [optional]
3233
**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]
3334
**ScanWindowSizes** | **List&lt;int?&gt;** | 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]
3435
**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]
3536
**SkipDiagonalSearch** | **bool?** | Allows detector to skip search for diagonal barcodes. Setting it to false will increase detection time but allow to find diagonal barcodes that can be missed otherwise. Enabling of diagonal search leads to a bigger detection time. | [optional]
3637
**ReadTinyBarcodes** | **bool?** | Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False. | [optional]
3738
**AustralianPostEncodingTable** | **CustomerInformationInterpretingType** | Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other. | [optional]
39+
**IgnoreEndingFillingPatternsForCTable** | **bool?** | The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. CTable encoding method does not have any gaps in encoding table and sequnce \&quot;333\&quot; of filling paterns is decoded as letter \&quot;z\&quot;. | [optional]
3840

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

src/Api/BarcodeApi.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,14 @@ public BarcodeResponseList GetBarcodeRecognize(GetBarcodeRecognizeRequest reques
205205
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowSaltAndPepperFiltering", request.AllowSaltAndPepperFiltering);
206206
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowWhiteSpotsRemoving", request.AllowWhiteSpotsRemoving);
207207
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "checkMore1DVariants", request.CheckMore1DVariants);
208+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "fastScanOnly", request.FastScanOnly);
208209
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "regionLikelihoodThresholdPercent", request.RegionLikelihoodThresholdPercent);
209210
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "scanWindowSizes", request.ScanWindowSizes);
210211
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "similarity", request.Similarity);
211212
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "skipDiagonalSearch", request.SkipDiagonalSearch);
212213
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "readTinyBarcodes", request.ReadTinyBarcodes);
213214
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "australianPostEncodingTable", request.AustralianPostEncodingTable);
215+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "ignoreEndingFillingPatternsForCTable", request.IgnoreEndingFillingPatternsForCTable);
214216
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "rectangleRegion", request.RectangleRegion);
215217
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "storage", request.storage);
216218
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "folder", request.folder);
@@ -275,12 +277,14 @@ public BarcodeResponseList PostBarcodeRecognizeFromUrlOrContent(PostBarcodeRecog
275277
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowSaltAndPepperFiltering", request.AllowSaltAndPepperFiltering);
276278
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "allowWhiteSpotsRemoving", request.AllowWhiteSpotsRemoving);
277279
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "checkMore1DVariants", request.CheckMore1DVariants);
280+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "fastScanOnly", request.FastScanOnly);
278281
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "regionLikelihoodThresholdPercent", request.RegionLikelihoodThresholdPercent);
279282
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "scanWindowSizes", request.ScanWindowSizes);
280283
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "similarity", request.Similarity);
281284
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "skipDiagonalSearch", request.SkipDiagonalSearch);
282285
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "readTinyBarcodes", request.ReadTinyBarcodes);
283286
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "australianPostEncodingTable", request.AustralianPostEncodingTable);
287+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "ignoreEndingFillingPatternsForCTable", request.IgnoreEndingFillingPatternsForCTable);
284288
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "rectangleRegion", request.RectangleRegion);
285289
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "url", request.url);
286290

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>21.9.0</Version>
20+
<Version>21.10.0</Version>
2121
<Authors>asposecloud</Authors>
22-
<AssemblyVersion>21.9.0.0</AssemblyVersion>
22+
<AssemblyVersion>21.10.0.0</AssemblyVersion>
2323
</PropertyGroup>
2424

2525
<ItemGroup>

src/Model/ReaderParams.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ public class ReaderParams
174174
/// </summary>
175175
public bool? CheckMore1DVariants { get; set; }
176176

177+
/// <summary>
178+
/// Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False.
179+
/// </summary>
180+
public bool? FastScanOnly { get; set; }
181+
177182
/// <summary>
178183
/// 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.
179184
/// </summary>
@@ -199,6 +204,11 @@ public class ReaderParams
199204
/// </summary>
200205
public bool? ReadTinyBarcodes { get; set; }
201206

207+
/// <summary>
208+
/// The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. CTable encoding method does not have any gaps in encoding table and sequnce \"333\" of filling paterns is decoded as letter \"z\".
209+
/// </summary>
210+
public bool? IgnoreEndingFillingPatternsForCTable { get; set; }
211+
202212
/// <summary>
203213
/// Get the string presentation of the object
204214
/// </summary>
@@ -233,12 +243,14 @@ public override string ToString()
233243
sb.Append(" AllowSaltAndPepperFiltering: ").Append(AllowSaltAndPepperFiltering).Append("\n");
234244
sb.Append(" AllowWhiteSpotsRemoving: ").Append(AllowWhiteSpotsRemoving).Append("\n");
235245
sb.Append(" CheckMore1DVariants: ").Append(CheckMore1DVariants).Append("\n");
246+
sb.Append(" FastScanOnly: ").Append(FastScanOnly).Append("\n");
236247
sb.Append(" RegionLikelihoodThresholdPercent: ").Append(RegionLikelihoodThresholdPercent).Append("\n");
237248
sb.Append(" ScanWindowSizes: ").Append(ScanWindowSizes).Append("\n");
238249
sb.Append(" Similarity: ").Append(Similarity).Append("\n");
239250
sb.Append(" SkipDiagonalSearch: ").Append(SkipDiagonalSearch).Append("\n");
240251
sb.Append(" ReadTinyBarcodes: ").Append(ReadTinyBarcodes).Append("\n");
241252
sb.Append(" AustralianPostEncodingTable: ").Append(AustralianPostEncodingTable).Append("\n");
253+
sb.Append(" IgnoreEndingFillingPatternsForCTable: ").Append(IgnoreEndingFillingPatternsForCTable).Append("\n");
242254
sb.Append("}\n");
243255

244256
return sb.ToString();

src/Model/Requests/GetBarcodeRecognizeRequest.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,18 @@ public class GetBarcodeRecognizeRequest
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>
6868
/// <param name="checkMore1DVariants">Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False.</param>
69+
/// <param name="fastScanOnly">Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False.</param>
6970
/// <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>
7071
/// <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>
7172
/// <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>
7273
/// <param name="skipDiagonalSearch">Allows detector to skip search for diagonal barcodes. Setting it to false will increase detection time but allow to find diagonal barcodes that can be missed otherwise. Enabling of diagonal search leads to a bigger detection time.</param>
7374
/// <param name="readTinyBarcodes">Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False.</param>
7475
/// <param name="australianPostEncodingTable">Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other.</param>
76+
/// <param name="ignoreEndingFillingPatternsForCTable">The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. CTable encoding method does not have any gaps in encoding table and sequnce \&quot;333\&quot; of filling paterns is decoded as letter \&quot;z\&quot;.</param>
7577
/// <param name="rectangleRegion"></param>
7678
/// <param name="storage">The image storage.</param>
7779
/// <param name="folder">The image folder.</param>
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)
80+
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, bool? fastScanOnly = null, double? regionLikelihoodThresholdPercent = null, List<int?> scanWindowSizes = null, double? similarity = null, bool? skipDiagonalSearch = null, bool? readTinyBarcodes = null, string australianPostEncodingTable = null, bool? ignoreEndingFillingPatternsForCTable = null, string rectangleRegion = null, string storage = null, string folder = null)
7981
{
8082
this.name = name;
8183
this.Type = type;
@@ -104,12 +106,14 @@ public GetBarcodeRecognizeRequest(string name, string type = null, string checks
104106
this.AllowSaltAndPepperFiltering = allowSaltAndPepperFiltering;
105107
this.AllowWhiteSpotsRemoving = allowWhiteSpotsRemoving;
106108
this.CheckMore1DVariants = checkMore1DVariants;
109+
this.FastScanOnly = fastScanOnly;
107110
this.RegionLikelihoodThresholdPercent = regionLikelihoodThresholdPercent;
108111
this.ScanWindowSizes = scanWindowSizes;
109112
this.Similarity = similarity;
110113
this.SkipDiagonalSearch = skipDiagonalSearch;
111114
this.ReadTinyBarcodes = readTinyBarcodes;
112115
this.AustralianPostEncodingTable = australianPostEncodingTable;
116+
this.IgnoreEndingFillingPatternsForCTable = ignoreEndingFillingPatternsForCTable;
113117
this.RectangleRegion = rectangleRegion;
114118
this.storage = storage;
115119
this.folder = folder;
@@ -250,6 +254,11 @@ public GetBarcodeRecognizeRequest(string name, string type = null, string checks
250254
/// </summary>
251255
public bool? CheckMore1DVariants { get; set; }
252256

257+
/// <summary>
258+
/// Allows engine for 1D barcodes to quickly recognize middle slice of an image and return result without using any time-consuming algorithms. Default value: False.
259+
/// </summary>
260+
public bool? FastScanOnly { get; set; }
261+
253262
/// <summary>
254263
/// 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.
255264
/// </summary>
@@ -280,6 +289,11 @@ public GetBarcodeRecognizeRequest(string name, string type = null, string checks
280289
/// </summary>
281290
public string AustralianPostEncodingTable { get; set; }
282291

292+
/// <summary>
293+
/// The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. CTable encoding method does not have any gaps in encoding table and sequnce \"333\" of filling paterns is decoded as letter \"z\".
294+
/// </summary>
295+
public bool? IgnoreEndingFillingPatternsForCTable { get; set; }
296+
283297
/// <summary>
284298
/// Gets or sets RectangleRegion
285299
/// </summary>

0 commit comments

Comments
 (0)