|
| 1 | +--- |
| 2 | +layout: default-layout |
| 3 | +title: EnhancedFeatures - Dynamsoft Camera Enhancer Android Enumerations |
| 4 | +description: The enumeration EnhancedFeatures of Dynamsoft Camera Enhancer Android describes the features of camera enhancer. |
| 5 | +keywords: Camera enhancer features |
| 6 | +needGenerateH3Content: true |
| 7 | +needAutoGenerateSidebar: true |
| 8 | +noTitleIndex: true |
| 9 | +breadcrumbText: EnhancedFeatures |
| 10 | +--- |
| 11 | + |
| 12 | +# EnhancedFeatures |
| 13 | + |
| 14 | +Enumeration `EnhancedFeatures` indicates the advanced features of Dynamsoft Camera Enhancer Android. |
| 15 | + |
| 16 | +- `Frame Filter`: The frame sharpness filter feature of DCE. By enabling this feature, the low-quality frame will be recognized and discarded automatically. |
| 17 | +- `Sensor Control`: The sensor filter feature of DCE. By enabling this feature, the frames will be discarded automatically while the device is shaking. |
| 18 | +- `Enhanced Focus`: The enhanced focus feature. DCE will support the camera in triggering auto-focus. |
| 19 | +- `Auto Zoom`: The auto-zoom feature of DCE. By enabling this feature, the camera will automatically zoom in to the interest area. |
| 20 | +- `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. |
| 21 | + |
| 22 | +```java |
| 23 | +@Retention(RetentionPolicy.CLASS) |
| 24 | +public @interface EnumEnhancedFeatures { |
| 25 | + //Enable the Frame filter feature of DCE |
| 26 | + int EF_FRAME_FILTER = 0x01; |
| 27 | + //Enable the sensor control feature of DCE |
| 28 | + int EF_SENSOR_CONTROL = 1 << 1; |
| 29 | + //Enable the camera focus features of DCE |
| 30 | + int EF_ENHANCED_FOCUS = 1 << 2; |
| 31 | + //Enable the autozoom feature |
| 32 | + int EF_AUTO_ZOOM = 1 << 3; |
| 33 | + //Enable the smart torch button |
| 34 | + int EF_SMART_TORCH = 1 << 4; |
| 35 | + // All. |
| 36 | + int EF_ALL = 0x1F; |
| 37 | +} |
| 38 | +``` |
| 39 | + |
| 40 | +> [!Note] |
| 41 | +> |
| 42 | +> Value changed in v3.2.1000: |
| 43 | +> - Changed `EF_AUTO_ZOOM` from `1 << 4` to `1 << 3`. |
| 44 | +> - Changed `EF_SMART_TORCH` from `1 << 5` to `1 << 4`. |
| 45 | +> - Changed `EF_ALL` from `0x3F` to `0x1F`. |
0 commit comments