Resource Base
Table of contents

EnhancedFeatures

Enumeration EnhancedFeatures indicates the advanced features of Dynamsoft Camera Enhancer.

  • Frame Filter: The frame sharpness filter feature of DCE. By enabling this feature, the low-quality frame will be recognized and discarded automatically.
  • Sensor Control: The sensor filter feature of DCE. By enabling this feature, the frames will be discarded automatically while the device is shaking.
  • Enhanced Focus: The enhanced focus feature. DCE will support the camera in triggering auto-focus.
  • Auto Zoom: The auto-zoom feature of DCE. By enabling this feature, the camera will automatically zoom in to the interest area.
  • Smart Torch: Add a smart torch on the UI. The torch will be hided when the environment brightness is high and displayed when the brightness is low.
  • JavaScript
  • Android
  • Objective-C
  • Swift
export enum EnumEnhancedFeatures {
   // Enable Dynamsoft powered auto-focus control.
   EF_ENHANCED_FOCUS = 0x04,
   // Enable Dynamsoft powered auto-zoom in/out control
   EF_AUTO_ZOOM = 0x10,
   // Enable the tap-to-focus feature.
   EF_TAP_TO_FOCUS = 0x40
}
@Retention(RetentionPolicy.CLASS)
public @interface EnumEnhancedFeatures {
   //Enable the Frame filter feature of DCE
   public static final int EF_FRAME_FILTER = 0x01;
   //Enable the sensor control feature of DCE
   public static final int EF_SENSOR_CONTROL = 0x02;
   //Enable the camera focus features of DCE
   public static final int EF_ENHANCED_FOCUS = 0x04;
   //Enable the autozoom feature
   public static final int EF_AUTO_ZOOM = 0x10;
   //Enable the smart torch button
   public static final int EF_SMART_TORCH = 0x20;
   // Enable all.
   public static final int EF_ALL = 0x3F;
}
typedef NS_ENUM(NSInteger, DSEnhancedFeatures)
{
   /**
    * Enable frame filter feature of the camera enhancer to make a filter out the low-quality frames.
    */
   EnhancedFeatureFrameFilter = 0X01,
   /**
    * Enable sensor control to filter out all the frames when the device is shaking.
    */
   EnhancedFeatureSensorControl = 0X02,
   /**
    * Enhanced focus helps low-end devices on focusing.
    */
   EnhancedFeatureEnhancedFocus = 0X04,
   /**
    * Enable the camera zoom-in automatically when barcode is far away.
    */
   EnhancedFeatureAutoZoom = 0X10,
   /**
    * Display a torch button when the environment light is low.
    */
   EnhancedFeatureSmartTorch = 0X20,
   /**
    * Enable all the enhanced features.
    */
   EnhancedFeatureAll = 0X3F
};
public enum EnhancedFeatures : Int{
   /**
    * Enable frame filter feature of the camera enhancer to make a filter out the low-quality frames.
    */
   frameFilter = 0X01
   /**
    * Enable sensor control to filter out all the frames when the device is shaking.
    */
   sensorControl = 0X02
   /**
    * Enhanced focus helps low-end devices on focusing.
    */
   enhancedFocus = 0X04
   /**
    * Enable the camera zoom-in automatically when barcode is far away.
    */
   autoZoom = 0X10
   /**
    * Display a torch button when the environment light is low.
    */
   smartTorch = 0X20
   /**
    * Enable all the enhanced features.
    */
   all = 0X3F
}

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 4.x
    • Version 4.2.0
    • Version 4.0.3
    • Version 4.0.2
    • Version 4.0.1
    • Version 4.0.0
  • Version 3.x
    • Version 3.3.10
    • Version 3.3.9
    • Version 3.3.8
    • Version 3.3.7
    • Version 3.3.6
    • Version 3.3.5
    • Version 3.3.4
    • Version 3.3.3
    • Version 3.3.2
    • Version 3.3.1
    • Version 3.3.0
    • Version 3.2.0
    • Version 3.1.0
    • Version 3.0.1
    • Version 3.0.0
  • Version 2.x
    • Version 2.3.5
    • Version 2.3.2
    • Version 2.3.1
    • Version 2.3.0
    • Version 2.1.4
    • Version 2.1.3
    • Version 2.1.0
    • Version 2.0.0
  • Version 1.x
    • Version 1.0.3
    • Version 1.0.1
    • Version 1.0.0
Change +