Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

EnumBinarizationMode

  • Android
  • Objective-C
  • Swift
public class EnumBinarizationMode {
    public static final int BM_AUTO = 1;
    public static final int BM_LOCAL_BLOCK = 2;
    public static final int BM_THRESHOLD = 4;
    public static final int BM_SKIP = 0;
}
typedef NS_ENUM(NSInteger, EnumBinarizationMode)
{
    /** Not supported yet. */
    EnumBinarizationModeAuto = 0x01,
    /** Binarizes the image based on the local block. Check @ref BM for available argument settings.*/
    EnumBinarizationModeLocalBlock = 0x02,
    /** Performs image binarization based on the given threshold. Check @ref BM for available argument settings.*/
    EnumBinarizationModeThreshold = 0x04,
    /** Skips binarization.*/
    EnumBinarizationModeSkip = 0x00
};
public enum EnumBinarizationMode : Int{
    /** Not supported yet. */
    auto = 0x01
    /** Binarizes the image based on the local block. Check @ref BM for available argument settings.*/
    localBlock = 0x02
    /** Performs image binarization based on the given threshold. Check @ref BM for available argument settings.*/
    threshold = 0x04
    /** Skips binarization.*/
    skip = 0x00
}

This page is compatible for:

Is this page helpful?

YesYes NoNo