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
// By setting organizaion ID as "200001", a 7-day trial license will be used for license verification.
66
+
// Note that network connection is required for this license to work.
67
+
//
68
+
// When using your own license, locate the following line and specify your Organization ID.
69
+
// organizationID = "200001";
70
+
//
71
+
// 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
// Accuracy = The number of correctly decoded barcodes/the number of all decoded barcodes
87
+
// There are two ways to configure runtime parameters. One is through PublicRuntimeSettings, the other is through parameters template.
59
88
Console.WriteLine("Decode through PublicRuntimeSettings:");
60
89
{
90
+
// config through PublicRuntimeSettings
61
91
configAccuracyFirst(refdbr);
92
+
93
+
// Decode barcodes from an image file by current runtime settings. The second parameter value "" means to decode through the current PublicRuntimeSettings.
62
94
results=dbr.DecodeFile(fileName,"");
95
+
96
+
// Output the barcode format and barcode text.
63
97
outputResults(results);
64
98
}
65
99
66
100
Console.WriteLine("\r\n");
67
101
68
102
Console.WriteLine("Decode through parameters template:");
69
103
{
104
+
// config through parameters template
70
105
configAccuracyFirstByTemplate(refdbr);
106
+
107
+
// Decode barcodes from an image file by template.
0 commit comments