You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Parameter 7. Set timeout(ms) if the application is very time sensitive.
48
+
// If timeout, the decoding thread will exit at the next check point.
26
49
settings.Timeout=100;
50
+
27
51
dbr.UpdateRuntimeSettings(settings);
28
52
53
+
// Other potentially accelerated arguments of various modes.
54
+
55
+
// Argument 4.a Disable the EnableFillBinaryVacancy argument.
56
+
// Local block binarization process might cause vacant area in barcode. The barcode reader will fill the vacant black by default (default value 1). Set the value 0 to disable this process.
// Argument 5.a Sets the scan direction when searching barcode.
61
+
// It is valid only when the type of LocalizationMode is LM_ONED_FAST_SCAN or LM_SCAN_DIRECTLY.
62
+
// 0: Both vertical and horizontal direction.
63
+
// 1: Vertical direction.
64
+
// 2: Horizontal direction.
65
+
// Read more about localization mode members: https://www.dynamsoft.com/barcode-reader/parameters/enum/parameter-mode-enums.html?ver=latest#localizationmode
// By setting organizaion ID as "200001", a 7-day trial license will be used for license verification.
101
+
// Note that network connection is required for this license to work.
102
+
//
103
+
// When using your own license, locate the following line and specify your Organization ID.
104
+
// organizationID = "200001";
105
+
//
106
+
// If you don't have a license yet, you can request a trial from https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=dotnet
// There are two ways to configure runtime parameters. One is through PublicRuntimeSettings, the other is through parameters template.
73
122
Console.WriteLine("Decode through PublicRuntimeSettings:");
74
123
{
124
+
// config through PublicRuntimeSettings
75
125
configSpeedFirst(refdbr);
126
+
76
127
DateTimebeforeRead=DateTime.Now;
128
+
129
+
// Decode barcodes from an image file by current runtime settings. The second parameter value "" means to decode through the current PublicRuntimeSettings.
0 commit comments