Interface VinScanner

  • All Implemented Interfaces:

    
    public interface VinScanner
    
                        

    Component to scan preview image and recognize Vehicle Identification Number (VIN).

    • Constructor Detail

    • Method Detail

      • scanNv21

         abstract VinScanResult scanNv21(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect)

        Scan nv21 image to recognize VIN.

        Parameters:
        nv21 - image in form of nv21-encoded byte array
        width - image width, pixels
        height - image height, pixels
        orientation - image orientation.
        finderRect - if non-null - perform scanning only in given area.
      • getOcrResolutionLimit

         abstract Integer getOcrResolutionLimit()

        The image will be downscaled to the given value during the processing. If the quality of the scanning is not enough, try to increase the limit. This variable affects the performance of the scanning process. Higher the size limit - better the quality, but the recognition is slower.

        0 - do not rescale.

      • setOcrResolutionLimit

         abstract Unit setOcrResolutionLimit(Integer ocrResolutionLimit)

        The image will be downscaled to the given value during the processing. If the quality of the scanning is not enough, try to increase the limit. This variable affects the performance of the scanning process. Higher the size limit - better the quality, but the recognition is slower.

        0 - do not rescale.