Skip to content

Commit 5c9a475

Browse files
update to internal commit 62272abc
1 parent 145241e commit 5c9a475

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

parameters/scenario-settings/recognise-accompanying-text.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ JSON template example:
3636
{
3737
"ImageParameter": {
3838
"Name": "ImageParameter1",
39-
"Description": "This is demonstrating accompanying text.",
39+
"Description": "This is acompanying text demonstrate",
4040
"AccompanyingTextRecognitionModes":["ATRM_GENERAL"]
4141
},
4242
"Version": "3.0"
@@ -46,7 +46,7 @@ JSON template example:
4646

4747
In some scenarios, the accompanying text you need is not in the immediate vicinity of the barcode. You can set a custom area to search by using the successfully decoded barcode as a reference via `top`, `bottom`, `left` and `right` values. The unit is in percentage.
4848

49-
Let's take the following image as an example. In this sample image, the information we would like to recognize is within the green box, but it is relatively far from the barcode. We can specify a custom searching area (marked by the red box) by setting the following arguments:
49+
Let's take the following image as an example. In this sample image, the information we would like to recognize is within the green box, but it is a relatively far from the barcode. We can specify a custom searching area (marked by the red box) by setting the following arguments:
5050

5151
`RegionBottom = -150`,
5252
`RegionLeft = -12`,
@@ -60,7 +60,7 @@ Example JSON template:
6060
{
6161
"ImageParameter": {
6262
"Name": "ImageParameter1",
63-
"Description": "This is demonstrating accompanying text",
63+
"Description": "This is a acompanying text demonstrate",
6464
"AccompanyingTextRecognitionModes":[
6565
{
6666
"Mode" : "ATRM_GENERAL",
@@ -76,7 +76,7 @@ Example JSON template:
7676
```
7777
## How to get the result of recognized accompanying text
7878

79-
The result of the accompanying text is stored in the decoding result: [`ExtendedResult`]({{ site.structs }}ExtendedResult.html) -> type `RT_STANDARD_TEXT`. The following code snippet shows how to get the result of the recognized accompanying text.
79+
The result of the accompanying text is stored in the decoding result: [`ExtendedResult`]({{ site.structs }}ExtendedResult.html) -> type `RT_STANDARD_TEXT`. The following code snippet shows how to get the result of recognized accompanying text.
8080

8181
```c++
8282
CBarcodeReader * reader = new CBarcodeReader;

programming/features/barcode-scan-region-v9.6.32.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ try? barcodeReader.updateRuntimeSettings(settings!)
9696
```python
9797
# Obtain current runtime settings of `reader` instance.
9898
settings = reader.get_runtime_settings()
99-
settings.region.region_top = 10
100-
settings.region.region_bottom = 90
101-
settings.region.region_left = 10
102-
settings.region.region_right = 90
103-
settings.region.region_measured_by_percentage = 1
99+
settings.region_top = 10
100+
settings.region_bottom = 90
101+
settings.region_left = 10
102+
settings.region_right = 90
103+
settings.region_measured_by_percentage = 1
104104
# Update the settings.
105105
reader.update_runtime_settings(settings)
106106
```

programming/features/use-runtimesettings-or-templates-v9.6.32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ if error[0] != EnumErrorCode.DBR_OK:
102102
dbr = BarcodeReader()
103103
settings = dbr.get_runtime_settings()
104104
settings.barcode_format_ids = EnumBarcodeFormat.BF_QR_CODE
105-
settings.barcode_format_ids_2 = EnumBarcodeFormat.BF2_POSTALCODE
105+
settings.barcode_format_ids_2 = EnumBarcodeFormat_2.BF2_POSTALCODE
106106
dbr.update_runtime_settings(settings)
107107
text_results = dbr.decode_file("YOUR-IMAGE-FILE-PATH")
108108
# Add further process

programming/usecases/read-postal-codes-v9.6.32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ if error[0] != EnumErrorCode.DBR_OK:
140140
dbr = BarcodeReader()
141141
settings = dbr.get_runtime_settings()
142142
settings.barcode_format_ids = EnumBarcodeFormat.BF_NULL
143-
settings.barcode_format_ids_2 = EnumBarcodeFormat.BF2_POSTALCODE
143+
settings.barcode_format_ids_2 = EnumBarcodeFormat_2.BF2_POSTALCODE
144144
dbr.update_runtime_settings(settings)
145145
text_results = dbr.decode_file("YOUR-IMAGE-FILE-WITH-POSTAL-CODES")
146146
# Add further process

0 commit comments

Comments
 (0)