Enable VIN

Set VIN #

The VIN (Vehicle Identification Number) feature is designed to scan barcodes specific to vehicle identification. It can be enabled either via a pre-defined template or manually.

For the pre-defined template, the system's 'BarkoderHelper' applies the VIN template to the configuration. The Region of Interest (ROI) is set to capture the entire viewfinder (a rectangle sized 100x30 starting at the top-left corner).

For manual setup, the system enables 'code39', 'code128', 'datamatrix', and 'qr' decoding because all of those barcode types can be used as VIN. The decoding speed is set to slow (for better results), and the barkoder resolution is set to high. Again, an ROI is set similar to the pre-defined template.

In both methods, the license key must be valid, otherwise, the results will contain asterisks.

Set it via pre-defined template:

                private setVinMode() : void {

    this.barkoderView.setBarcodeTypeEnabled(
        [
            BarkoderConstants.DecoderType.QR,
            BarkoderConstants.DecoderType.Datamatrix,
            BarkoderConstants.DecoderType.Code39,
            BarkoderConstants.DecoderType.Code128
        ]
    )
    this.barkoderView.setEnableVINRestrictions(true)
    this.barkoderView.setRegionOfInterest(0,30,100,40)
    this.barkoderView.setRegionOfInterestVisible(true)
    
    this.barkoderView.setDecodingSpeed(BarkoderConstants.DecodingSpeed.Slow)
    this.barkoderView.setBarkoderResolution(BarkoderConstants.BarkoderResolution.HIGH)
   
}
            

Page Contents

History:

close