GSKEnhancementConfiguration

Objective-C

@interface GSKEnhancementConfiguration : NSObject

Swift

class GSKEnhancementConfiguration : NSObject

A GSKEnhancementConfiguration defines the behavior of a GSKScanProcessor when applying legibility enhancements.

  • An enhancement configuration that will result in using the best filter, as detected by the Genius Scan SDK. Edge cleaning will be applied.

    Declaration

    Objective-C

    + (nonnull instancetype)automaticEnhancementConfiguration;

    Swift

    class func automatic() -> Self
  • An enhancement configuration that will result in using the specified filter.

    Declaration

    Objective-C

    + (nonnull instancetype)enhancementConfigurationWithFilter:
        (GSKFilterType)filter;

    Swift

    convenience init(filter: GSKFilterType)
  • An enhancement configuration that will result in using the specified filter, applying edge cleaning if requested and if applicable.

    Declaration

    Objective-C

    + (nonnull instancetype)enhancementConfigurationWithFilter:(GSKFilterType)filter
                                                    cleanEdges:(BOOL)cleanEdges;

    Swift

    convenience init(filter: GSKFilterType, cleanEdges: Bool)