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
Read an image in the buffer and try to locate and decode barcode(s) on it.
27
+
26
28
**Syntax**
27
29
28
30
```typescript
29
-
/**
30
-
* Read an image in the buffer and try to locate and decode barcode(s) on it.
31
-
* @paramindex Specify the image to decode.
32
-
*/
33
31
decode(index: number): Promise<ITextResults> ;
34
32
35
33
interfaceTextResults {
@@ -128,7 +126,12 @@ interface Result {
128
126
}
129
127
```
130
128
129
+
**Parameters**
130
+
131
+
`index`: Specify the image to decode.
132
+
131
133
**Availability**
134
+
132
135
<divclass="availability">
133
136
<table>
134
137
@@ -155,12 +158,11 @@ interface Result {
155
158
156
159
## getRuntimeSettings
157
160
161
+
Get the current runtime settings.
162
+
158
163
**Syntax**
159
164
160
165
```typescript
161
-
/**
162
-
* Get the current runtime settings.
163
-
*/
164
166
getRuntimeSettings(): Promise<RuntimeSettings> ;
165
167
166
168
interfaceRuntimeSettings {
@@ -238,37 +240,20 @@ interface Region {
238
240
239
241
## updateRuntimeSettings
240
242
243
+
Update the runtime settings with a given object or use the string "speed", "balance", or "coverage" to use our preset settings. The default setting is "coverage".
244
+
241
245
**Syntax**
242
246
243
247
```typescript
244
-
/**
245
-
* Update the runtime settings with a given object or use the string "speed", "balance", or "coverage" to use our preset settings. The default setting is "coverage".
0 commit comments