/*
 * This is one of the header files of Dynamsoft Capture Vision SDK - Barcode Reader module.
 *
 * Copyright © Dynamsoft Corporation. All rights reserved.
 */

#ifndef DSBarcodeReaderModes_h
#define DSBarcodeReaderModes_h

typedef NS_ENUM(NSInteger , DSLocalizationMode) {
    
    DSLocalizationModeSkip = 0,
    
    DSLocalizationModeAuto = 1 << 0,
    
    DSLocalizationModeConnectedBlocks = 1 << 1,

    DSLocalizationModeStatistics = 1 << 2,

    DSLocalizationModeLines = 1 << 3,

    DSLocalizationModeScanDirectly = 1 << 4,

    DSLocalizationModeStatisticsMarks = 1 << 5,

    DSLocalizationModeStatisticsPostalCode = 1 << 6,

    DSLocalizationModeCentre = 1 << 7,

    DSLocalizationModeOneDFastScan = 1 << 8,
    
    DSLocalizationModeNeuralNetwork = 1 << 9,
    
    DSLocalizationModeEnd = -1,

    DSLocalizationModeRev = NSIntegerMin

} NS_SWIFT_NAME(LocalizationMode);

typedef NS_ENUM(NSInteger , DSDeblurMode) {
    
    DSDeblurModeSkip = 0,

    DSDeblurModeDirectBinarization = 1 << 0,

    DSDeblurModeThresholdBinarization = 1 << 1,

    DSDeblurModeGrayEqualization = 1 << 2,

    DSDeblurModeSmoothing = 1 << 3,

    DSDeblurModeMorphing = 1 << 4,

    DSDeblurModeDeepAnalysis = 1 << 5,

    DSDeblurModeSharpening = 1 << 6,

    DSDeblurModeBasedOnLocBin = 1 << 7,

    DSDeblurModeSharpeningSmoothing = 1 << 8,
    
    DSDeblurModeNeuralNetwork = 1 << 9,
    
    DSDeblurModeEnd = -1,

    DSDeblurModeRev = NSIntegerMin
} NS_SWIFT_NAME(DeblurMode);

#endif /* DSBarcodeReaderModes_h */
