Class BarcodeAccumulationConfiguration


  • public class BarcodeAccumulationConfiguration
    extends java.lang.Object
    Configuration for how to accumulate results.
    • Constructor Detail

      • BarcodeAccumulationConfiguration

        public BarcodeAccumulationConfiguration​(int minConfirmationsStandaloneEAN,
                                                int maximumNumberOfAccumulatedFrames,
                                                boolean removeUnconnectedResults,
                                                BarcodeAccumulationMethod method)
        Constructs BarcodeAccumulationConfiguration with the given params.
        Parameters:
        minConfirmationsStandaloneEAN - In case that ean/upc both with and without extensions are allowed, we require confirmations to consider a standalone EAN or UPC (i.e. without extension) as valid. Default is 2
        maximumNumberOfAccumulatedFrames - Maximum number of accumulated frames to inspect to verify a scan result. Default is 5
        removeUnconnectedResults - If true, the results from previous frames that are not connected to results on the current frame will be removed. This is should be enabled when large camera movements are expected. For small camera movements, the option can be disabled. Default is true
        method - The method how to display barcodes from previous frames. Default is INTERPOLATE_BY_CAMERA
      • BarcodeAccumulationConfiguration

        public BarcodeAccumulationConfiguration()
        Constructs BarcodeAccumulationConfiguration with default parameters.
    • Method Detail

      • getMinConfirmationsStandaloneEAN

        public int getMinConfirmationsStandaloneEAN()
        Getter for minConfirmationsStandaloneEAN field. See constructor documentation for more information about the field.
        Returns:
        minConfirmationsStandaloneEAN
      • setMinConfirmationsStandaloneEAN

        public void setMinConfirmationsStandaloneEAN​(int minConfirmationsStandaloneEAN)
        Setter for minConfirmationsStandaloneEAN field. See constructor documentation for more information about the field.
        Parameters:
        minConfirmationsStandaloneEAN - Value to set.
      • getMaximumNumberOfAccumulatedFrames

        public int getMaximumNumberOfAccumulatedFrames()
        Getter for maximumNumberOfAccumulatedFrames field. See constructor documentation for more information about the field.
        Returns:
        maximumNumberOfAccumulatedFrames
      • setMaximumNumberOfAccumulatedFrames

        public void setMaximumNumberOfAccumulatedFrames​(int maximumNumberOfAccumulatedFrames)
        Setter for maximumNumberOfAccumulatedFrames field. See constructor documentation for more information about the field.
        Parameters:
        maximumNumberOfAccumulatedFrames - Value to set.
      • getRemoveUnconnectedResults

        public boolean getRemoveUnconnectedResults()
        Getter for removeUnconnectedResults field. See constructor documentation for more information about the field.
        Returns:
        removeUnconnectedResults
      • setRemoveUnconnectedResults

        public void setRemoveUnconnectedResults​(boolean removeUnconnectedResults)
        Setter for removeUnconnectedResults field. See constructor documentation for more information about the field.
        Parameters:
        removeUnconnectedResults - Value to set.
      • getMethod

        public BarcodeAccumulationMethod getMethod()
        Getter for method field. See constructor documentation for more information about the field.
        Returns:
        method
      • setMethod

        public void setMethod​(BarcodeAccumulationMethod method)
        Setter for method field. See constructor documentation for more information about the field.
        Parameters:
        method - Value to set.