Increase Face AF successful Rate in Lowlight and Backlit Scenes
2017-09-19 15:13
453 查看
1 Issue description
A、There may be some little blur images during Face AF consistency test.B、From log, only one step difference during fine search leads to little blur image.
C、Tried different AF filter doesn’t help this scene e.g. IIR[0.05 0.12] IIR[0.2 0.35]
2 Solution
Enable AF reserved parameter to extend Face ROI for AF to cover model’s neckwear or more details.2.1 Tuning parameters
// FACE ROI Extension parameters// af_algo.reserve[47]: AF_CHROMATIX_EN_FD_ROI_TUNE
// Default value: 0
// Data range: [0 - 1]
// Description: Unsigned Integer.
// 1 to enable AF FD ROI adjustment, 0 to disable
0.000000f, /* AF_CHROMATIX_EN_FD_ROI_TUNE */
// af_algo.reserve[91]: AF_ROI_FACE_EXTENSION
// Default value: 0 // Data range: [0, 1]
// Description: a switch to turn on face ROI extension which extend ROI region from face
// detection region and gravity information to include hair region and neck region to
// avoid flat focus value.
// Constraints: enable to include hair region, but may including some background region.
0.000000f, /* AF_ROI_FACE_EXTENSION */
// af_algo.reserve[92]: AF_ROI_FACE_SCALE_X
// Default value: 0.05 // Data range: [0 - 1]
// Description: Face ROI width will be (1+scale) times of width of face detection region.
// Constraints: set too large will include background region. Should not set too high due
// to no face region in extra horizontal region.
0.050000f, /* AF_ROI_FACE_SCALE_X */
// af_algo.reserve[93]: AF_ROI_FACE_SCALE_Y
// Default value: 0.5
// Data range: [0 - 1]
// Description: Face ROI height will be (1+scale) times of height of face detection region.
// Constraints: this parameter enlarge vertical ROI region from face detection region and
// include hair region and neck region. It will avoid flat focus region when face is too smooth.
0.500000f, /* AF_ROI_FACE_SCALE_Y */
// af_algo.reserve[94]: AF_ROI_FACE_SYMMETIRC_X
// Default value: 0.5
// Data range: [0 - 1]
// Description: decide how face ROI extend to left/right side. Value 0.5 means symmetric
// extension. 0 means extend to left. 1 means extend to right.
// Constraints:
0.500000f, /* AF_ROI_FACE_SYMMETIRC_X */
// af_algo.reserve[95]: AF_ROI_FACE_SYMMETIRC_Y
// Default value: 0.25 // Data range: [0 - 1]
// Description: decide how face ROI extend to up/down side. Value 0.5 means symmetric
// extension. 1 means extend to upside.
// 0 means extend to downside.
// Constraints:
0.250000f, /* AF_ROI_FACE_SYMMETIRC_Y */
2.2 Tuning Example
For above case, red rectangle is original face ROI, blue rectangle is face ROI extension based on tuningparameters.
AF_CHROMATIX_EN_FD_ROI_TUNE = 1
AF_ROI_FACE_EXTENSION = 1
AF_ROI_FACE_SCALE_X = 0.05
AF_ROI_FACE_SCALE_Y = 0.5
AF_ROI_FACE_SYMMETIRC_X = 0.5
AF_ROI_FACE_SYMMETIRC_Y = 0.25
X extend ratio is 0.05, and X symmetry ratio is 0.5, thus the ROI is extended towards left to 0.025 timesof width, towards right to 0.025 times of width.
Y extend ratio is 0.5, and Y symmetry ratio is 0.25, thus the ROI is extended towards top to 0.125 timesof height, towards bottom to 0.375 times of height.
With extended FD ROI, FV curve for same scene become sharper since the model’s neckwear which hasmore details was included in the ROI, as shown in below diagram.
相关文章推荐
- Bit error testing and training in double data rate (ddr) memory system
- A Multi-Sensorial Simultaneous Localization and Mapping (SLAM) System for Low-Cost Micro Aerial Vehicles in GPS-Denied Environments
- DynamicFusion: Reconstruction and Tracking of Non-rigid scenes in real-time
- Analyzing billions of credit card transactions and serving low-latency insights in the cloud
- low level and hight level structure in CNN
- Matrix and linear algebra in F#, Part III: Eigen decomposition and face recognition[z]
- Aggregrate:Initialization of structures and arrays in C++
- High-Fidelity Pose and Expression Normalization for Face Recognition in the Wild
- Transition Manager for Corona SDK: Pause, Resume and Manage all transitions in a scene
- Cannot mark assets and scenes in one AssetBundle
- General failure in response to MSG_ENABLEDS,Low Memory Condition encountered,free up some memory and
- The difference between scheduleAtFixedRate and scheduleWithFixedDelay in JAVA
- [翻译]080802- IR and Visible Light Face Recognition
- RFC5826中文版 Home Automation RoutingRequirements in Low-Power and Lossy Networks
- 【论文】Detection and segmentation of moving objects in complex scenes
- Topology and Geometry in OpenCascade-Face
- [翻译]080802- IR and Visible Light Face Recognition
- How to Manually Determining and Resolving Archive Gaps in ASM (Copy archivelog in ASM using RMAN) [I
- FRM-30187: Size of CHAR column in record group must be between 1 and 2000.