Create a ScanSettings instance.
Disable recognition of a symbology or list/set of symbologies.
The single symbology or list/set of symbologies to disable.
The updated ScanSettings object.
Enable recognition of a symbology or list/set of symbologies.
The single symbology or list/set of symbologies to enable.
The updated ScanSettings object.
When the filter is set to -1, each unique code is only scanned once. When set to 0, duplicate filtering is disabled. Otherwise the duplicate filter specifies an interval in milliseconds.
The code duplicate filter value.
The maximum number of barcodes to be recognized every frame.
Get a Scandit Engine library property.
This function is for internal use only and any functionality that can be accessed through it can and will vanish without public notice from one version to the next. Do not call this function unless you specifically have to.
The property name.
The property value. For properties not previously set, -1 is returned.
The area of the image in which barcodes are searched.
Get the configuration object for a symbology (which can then be modified).
The symbology for which to retrieve the configuration.
The symbology configuration object for the specified symbology.
Whether blurry recognition is configured to be enabled ot not.
Whether GPU acceleration is configured to be enabled ot not.
Note that this refers to the settings: depending on browser capabilities the actual GPU usage might be prevented.
Get the recognition enabled status for a symbology.
The symbology for which to retrieve the recognition enabled status.
Whether the symbology enabled for recognition.
Enable or disable blurry recognition.
Allow accurate scanning capabilities for out-of-focus (1D) codes. If enabled, more advanced algorithms are executed (and more resources/time is spent) every frame in order to successfully decode/scan difficult codes.
Whether to enable or disable blurry recognition.
The updated ScanSettings object.
Set the code duplicate filter value.
When the filter is set to -1, each unique code is only scanned once. When set to 0, duplicate filtering is disabled. Otherwise the duplicate filter specifies an interval in milliseconds.
The new value (-1, 0, or positive integer).
The updated ScanSettings object.
Enable or disable GPU acceleration.
Provide faster and more accurate barcode localization. The GPU can and will be used only if the browser also supports the needed technologies (WebGL and OffscreenCanvas).
Whether to enable or disable GPU acceleration.
The updated ScanSettings object.
Set the maximum number of barcodes to be recognized every frame.
The new value (non-zero positive integer).
The updated ScanSettings object.
Set a Scandit Engine library property.
This function is for internal use only and any functionality that can be accessed through it can and will vanish without public notice from one version to the next. Do not call this function unless you specifically have to.
The property name.
The property value.
The updated ScanSettings object.
Set the area of the image in which barcodes are searched.
The new search area.
The updated ScanSettings object.
The configuration object as a JSON string.
Generated using TypeDoc
A configuration object for scanning options.
Modified ScanSettings need to be applied to a scanner via BarcodePicker.applyScanSettings or Scanner.applyScanSettings to take effect.