Skip to content

Commit 8e3ac4b

Browse files
authored
Release 21.10 (#22)
1 parent 4d7e6fb commit 8e3ac4b

9 files changed

Lines changed: 112 additions & 17 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Maven metadata URL](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepository.aspose.cloud%2Frepo%2Fcom%2Faspose%2Faspose-barcode-cloud%2Fmaven-metadata.xml)](https://repository.aspose.cloud/repo/com/aspose/aspose-barcode-cloud/)
66

77
- API version: 3.0
8-
- SDK version: 21.9.0
8+
- SDK version: 21.10.0
99

1010
## Demo applications
1111

@@ -66,7 +66,7 @@ Add this dependency to your project's POM:
6666
<dependency>
6767
<groupId>com.aspose</groupId>
6868
<artifactId>aspose-barcode-cloud</artifactId>
69-
<version>21.9.0</version>
69+
<version>21.10.0</version>
7070
<scope>compile</scope>
7171
</dependency>
7272
```
@@ -81,7 +81,7 @@ mvn clean package
8181

8282
Then manually install the following JARs:
8383

84-
- `target/aspose-barcode-cloud-21.9.0.jar`
84+
- `target/aspose-barcode-cloud-21.10.0.jar`
8585
- `target/lib/*.jar`
8686

8787
## Getting Started

docs/BarcodeApi.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Name | Type | Description | Notes
9797

9898
## getBarcodeRecognize
9999

100-
> BarcodeResponseList getBarcodeRecognize(name, type, checksumValidation, detectEncoding, preset, rectX, rectY, rectWidth, rectHeight, stripFNC, timeout, medianSmoothingWindowSize, allowMedianSmoothing, allowComplexBackground, allowDatamatrixIndustrialBarcodes, allowDecreasedImage, allowDetectScanGap, allowIncorrectBarcodes, allowInvertImage, allowMicroWhiteSpotsRemoving, allowOneDFastBarcodesDetector, allowOneDWipedBarsRestoration, allowQRMicroQrRestoration, allowRegularImage, allowSaltAndPepperFiltering, allowWhiteSpotsRemoving, checkMore1DVariants, regionLikelihoodThresholdPercent, scanWindowSizes, similarity, skipDiagonalSearch, readTinyBarcodes, australianPostEncodingTable, rectangleRegion, storage, folder)
100+
> BarcodeResponseList getBarcodeRecognize(name, type, checksumValidation, detectEncoding, preset, rectX, rectY, rectWidth, rectHeight, stripFNC, timeout, medianSmoothingWindowSize, allowMedianSmoothing, allowComplexBackground, allowDatamatrixIndustrialBarcodes, allowDecreasedImage, allowDetectScanGap, allowIncorrectBarcodes, allowInvertImage, allowMicroWhiteSpotsRemoving, allowOneDFastBarcodesDetector, allowOneDWipedBarsRestoration, allowQRMicroQrRestoration, allowRegularImage, allowSaltAndPepperFiltering, allowWhiteSpotsRemoving, checkMore1DVariants, fastScanOnly, regionLikelihoodThresholdPercent, scanWindowSizes, similarity, skipDiagonalSearch, readTinyBarcodes, australianPostEncodingTable, ignoreEndingFillingPatternsForCTable, rectangleRegion, storage, folder)
101101
102102
Recognize barcode from a file on server.
103103

@@ -164,12 +164,14 @@ Name | Type | Description | Notes
164164
**allowSaltAndPepperFiltering** | **Boolean**| Allows engine to recognize barcodes with salt and pepper noise type. Mode can remove small noise with white and black dots. | [optional]
165165
**allowWhiteSpotsRemoving** | **Boolean**| 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]
166166
**checkMore1DVariants** | **Boolean**| Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. | [optional]
167+
**fastScanOnly** | **Boolean**| 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]
167168
**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]
168169
**scanWindowSizes** | **List&lt;Integer&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]
169170
**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]
170171
**skipDiagonalSearch** | **Boolean**| 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]
171172
**readTinyBarcodes** | **Boolean**| Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False. | [optional]
172173
**australianPostEncodingTable** | **String**| Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other. | [optional] [enum: CTable, NTable, Other]
174+
**ignoreEndingFillingPatternsForCTable** | **Boolean**| 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]
173175
**rectangleRegion** | **String**| | [optional]
174176
**storage** | **String**| The image storage. | [optional]
175177
**folder** | **String**| The image folder. | [optional]
@@ -180,7 +182,7 @@ Name | Type | Description | Notes
180182

181183
## postBarcodeRecognizeFromUrlOrContent
182184

183-
> BarcodeResponseList postBarcodeRecognizeFromUrlOrContent(type, checksumValidation, detectEncoding, preset, rectX, rectY, rectWidth, rectHeight, stripFNC, timeout, medianSmoothingWindowSize, allowMedianSmoothing, allowComplexBackground, allowDatamatrixIndustrialBarcodes, allowDecreasedImage, allowDetectScanGap, allowIncorrectBarcodes, allowInvertImage, allowMicroWhiteSpotsRemoving, allowOneDFastBarcodesDetector, allowOneDWipedBarsRestoration, allowQRMicroQrRestoration, allowRegularImage, allowSaltAndPepperFiltering, allowWhiteSpotsRemoving, checkMore1DVariants, regionLikelihoodThresholdPercent, scanWindowSizes, similarity, skipDiagonalSearch, readTinyBarcodes, australianPostEncodingTable, rectangleRegion, url, image)
185+
> BarcodeResponseList postBarcodeRecognizeFromUrlOrContent(type, checksumValidation, detectEncoding, preset, rectX, rectY, rectWidth, rectHeight, stripFNC, timeout, medianSmoothingWindowSize, allowMedianSmoothing, allowComplexBackground, allowDatamatrixIndustrialBarcodes, allowDecreasedImage, allowDetectScanGap, allowIncorrectBarcodes, allowInvertImage, allowMicroWhiteSpotsRemoving, allowOneDFastBarcodesDetector, allowOneDWipedBarsRestoration, allowQRMicroQrRestoration, allowRegularImage, allowSaltAndPepperFiltering, allowWhiteSpotsRemoving, checkMore1DVariants, fastScanOnly, regionLikelihoodThresholdPercent, scanWindowSizes, similarity, skipDiagonalSearch, readTinyBarcodes, australianPostEncodingTable, ignoreEndingFillingPatternsForCTable, rectangleRegion, url, image)
184186
185187
Recognize barcode from an url or from request body. Request body can contain raw data bytes of the image or encoded with base64.
186188

@@ -245,12 +247,14 @@ Name | Type | Description | Notes
245247
**allowSaltAndPepperFiltering** | **Boolean**| Allows engine to recognize barcodes with salt and pepper noise type. Mode can remove small noise with white and black dots. | [optional]
246248
**allowWhiteSpotsRemoving** | **Boolean**| 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]
247249
**checkMore1DVariants** | **Boolean**| Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. | [optional]
250+
**fastScanOnly** | **Boolean**| 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]
248251
**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]
249252
**scanWindowSizes** | **List&lt;Integer&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]
250253
**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]
251254
**skipDiagonalSearch** | **Boolean**| 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]
252255
**readTinyBarcodes** | **Boolean**| Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False. | [optional]
253256
**australianPostEncodingTable** | **String**| Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other. | [optional] [enum: CTable, NTable, Other]
257+
**ignoreEndingFillingPatternsForCTable** | **Boolean**| 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]
254258
**rectangleRegion** | **String**| | [optional]
255259
**url** | **String**| The image file url. | [optional]
256260
**image** | **File**| Image data | [optional]

docs/ReaderParams.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ Name | Type | Description | Notes
3030
**allowSaltAndPepperFiltering** | **Boolean** | Allows engine to recognize barcodes with salt and pepper noise type. Mode can remove small noise with white and black dots. | [optional]
3131
**allowWhiteSpotsRemoving** | **Boolean** | 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]
3232
**checkMore1DVariants** | **Boolean** | Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False. | [optional]
33+
**fastScanOnly** | **Boolean** | 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]
3334
**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]
3435
**scanWindowSizes** | **List&lt;Integer&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]
3536
**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]
3637
**skipDiagonalSearch** | **Boolean** | 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]
3738
**readTinyBarcodes** | **Boolean** | Allows engine to recognize tiny barcodes on large images. Ignored if AllowIncorrectBarcodes is set to True. Default value: False. | [optional]
3839
**australianPostEncodingTable** | [**CustomerInformationInterpretingType**](CustomerInformationInterpretingType.md) | Interpreting Type for the Customer Information of AustralianPost BarCode.Default is CustomerInformationInterpretingType.Other. | [optional]
40+
**ignoreEndingFillingPatternsForCTable** | **Boolean** | 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]
3941

4042

4143

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>aspose-barcode-cloud</artifactId>
66
<packaging>jar</packaging>
77
<name>aspose-barcode-cloud</name>
8-
<version>21.9.0</version>
8+
<version>21.10.0</version>
99
<url>https://www.aspose.cloud</url>
1010
<description>Aspose.BarCode Cloud SDK for Java</description>
1111
<scm>

src/main/java/com/aspose/barcode/cloud/ApiClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
public class ApiClient {
6363

6464
public final String apiVersion = "v3.0";
65-
public final String clientVersion = "21.9.0";
65+
public final String clientVersion = "21.10.0";
6666
private String baseUrl = "https://api.aspose.cloud";
6767
private String clientId;
6868
private String clientSecret;
@@ -114,7 +114,7 @@ protected ApiClient() {
114114
json = new JSON();
115115

116116
// Set default User-Agent.
117-
setUserAgent("Swagger-Codegen/21.9.0/java");
117+
setUserAgent("Swagger-Codegen/21.10.0/java");
118118

119119
addDefaultHeader("x-aspose-client", "java sdk");
120120
addDefaultHeader("x-aspose-client-version", clientVersion);

src/main/java/com/aspose/barcode/cloud/api/BarcodeApi.java

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,8 @@ protected com.squareup.okhttp.Call getBarcodeRecognizeCall(
410410
if (request.checkMore1DVariants != null)
411411
queryParams.addAll(
412412
apiClient.parameterToPair("CheckMore1DVariants", request.checkMore1DVariants));
413+
if (request.fastScanOnly != null)
414+
queryParams.addAll(apiClient.parameterToPair("FastScanOnly", request.fastScanOnly));
413415
if (request.regionLikelihoodThresholdPercent != null)
414416
queryParams.addAll(
415417
apiClient.parameterToPair(
@@ -431,6 +433,11 @@ protected com.squareup.okhttp.Call getBarcodeRecognizeCall(
431433
queryParams.addAll(
432434
apiClient.parameterToPair(
433435
"AustralianPostEncodingTable", request.australianPostEncodingTable));
436+
if (request.ignoreEndingFillingPatternsForCTable != null)
437+
queryParams.addAll(
438+
apiClient.parameterToPair(
439+
"IgnoreEndingFillingPatternsForCTable",
440+
request.ignoreEndingFillingPatternsForCTable));
434441
if (request.rectangleRegion != null)
435442
queryParams.addAll(
436443
apiClient.parameterToPair("RectangleRegion", request.rectangleRegion));
@@ -678,6 +685,8 @@ protected com.squareup.okhttp.Call postBarcodeRecognizeFromUrlOrContentCall(
678685
if (request.checkMore1DVariants != null)
679686
queryParams.addAll(
680687
apiClient.parameterToPair("CheckMore1DVariants", request.checkMore1DVariants));
688+
if (request.fastScanOnly != null)
689+
queryParams.addAll(apiClient.parameterToPair("FastScanOnly", request.fastScanOnly));
681690
if (request.regionLikelihoodThresholdPercent != null)
682691
queryParams.addAll(
683692
apiClient.parameterToPair(
@@ -699,6 +708,11 @@ protected com.squareup.okhttp.Call postBarcodeRecognizeFromUrlOrContentCall(
699708
queryParams.addAll(
700709
apiClient.parameterToPair(
701710
"AustralianPostEncodingTable", request.australianPostEncodingTable));
711+
if (request.ignoreEndingFillingPatternsForCTable != null)
712+
queryParams.addAll(
713+
apiClient.parameterToPair(
714+
"IgnoreEndingFillingPatternsForCTable",
715+
request.ignoreEndingFillingPatternsForCTable));
702716
if (request.rectangleRegion != null)
703717
queryParams.addAll(
704718
apiClient.parameterToPair("RectangleRegion", request.rectangleRegion));
@@ -713,9 +727,7 @@ protected com.squareup.okhttp.Call postBarcodeRecognizeFromUrlOrContentCall(
713727
final String accept = apiClient.selectHeaderAccept(accepts);
714728
if (accept != null) headerParams.put("Accept", accept);
715729

716-
final String[] contentTypes = {
717-
"multipart/form-data", "application/x-www-form-urlencoded", "application/octet-stream"
718-
};
730+
final String[] contentTypes = {"multipart/form-data", "application/octet-stream"};
719731
final String contentType = apiClient.selectHeaderContentType(contentTypes);
720732
headerParams.put("Content-Type", contentType);
721733

@@ -1113,10 +1125,7 @@ protected com.squareup.okhttp.Call putBarcodeGenerateFileCall(
11131125
if (accept != null) headerParams.put("Accept", accept);
11141126

11151127
final String[] contentTypes = {
1116-
"multipart/form-data",
1117-
"application/x-www-form-urlencoded",
1118-
"application/json",
1119-
"application/xml"
1128+
"application/json", "application/xml", "multipart/form-data"
11201129
};
11211130
final String contentType = apiClient.selectHeaderContentType(contentTypes);
11221131
headerParams.put("Content-Type", contentType);

0 commit comments

Comments
 (0)