Adaptive Sample for the Flicker Type

Figure 1 Adaptive sample for the flicker type
  • The preceding figure shows the processing flow of the adaptive sample for the power-frequency flicker type (calcflicker sample 0). In this test case, the anti-flicker parameters are automatically adapted after the results of multiple detections are confirmed. This case is used as a reference for using the Auto Flicker Type Detection interface to implement adaptive anti-flicker.
  • If the detection result is HI_ISP_FLICKER_TYPE_UNKNOW (unknown flicker type), the possible causes are as follows:
    • The camera shakes, causing unstable detection.
    • There are large moving objects in the image.
    • The 50 Hz and 60 Hz light sources are both used in the ambient environment.
    • The ambient light source is a light source without a common frequency, such as 50 Hz or 60 Hz. The preceding situations can be handled flexibly according to the actual situation.