A method for fingerprint detection, comprising: receiving a synchronization signal of a display screen, the synchronization signal being configured to trigger a pixel array of a fingerprint sensor to expose, wherein a period of the synchronization signal is synchronized with a dimming period of the display screen, the dimming period is a period during which the display screen adjusts a brightness and the dimming period comprises a bright period and a dark period, wherein the display screen is configured to turn down the brightness and last for a certain time once every dimming period elapses, and the duration is the dark period in the dimming period; or, the display screen is configured to turn up the brightness and last for a certain time once every dimming period elapses, and the duration is the bright period in the dimming period; during the fingerprint detection, after the light spot on the display screen for the fingerprint detection is lighted up, waiting for an arrival of the synchronization signal of the display screen before starting to expose each row of the pixels in the pixel array in sequence; and exposing each row of the pixels in the pixel array in sequence when a rising edge or a falling edge of the synchronization signal arrives, or exposing each row of the pixels in the pixel array in sequence after delaying a certain time when the rising edge or the falling edge of the synchronization signal arrives, which results in the proportion of the bright period and the dark period of the screen during the exposure time of each row of pixels is the same, wherein data of each row of the pixels after exposure is configured to obtain a fingerprint image, the pixel array comprises M rows of pixels and the exposed data of the M rows of the pixels is processed and spliced to form the fingerprint image. receiving a synchronization signal of a display screen, the synchronization signal being configured to trigger a pixel array of a fingerprint sensor to expose, wherein a period of the synchronization signal is synchronized with a dimming period of the display screen, the dimming period is a period during which the display screen adjusts a brightness and the dimming period comprises a bright period and a dark period, wherein the display screen is configured to turn down the brightness and last for a certain time once every dimming period elapses, and the duration is the dark period in the dimming period; or, the display screen is configured to turn up the brightness and last for a certain time once every dimming period elapses, and the duration is the bright period in the dimming period; during the fingerprint detection, after the light spot on the display screen for the fingerprint detection is lighted up, waiting for an arrival of the synchronization signal of the display screen before starting to expose each row of the pixels in the pixel array in sequence; and exposing each row of the pixels in the pixel array in sequence when a rising edge or a falling edge of the synchronization signal arrives, or exposing each row of the pixels in the pixel array in sequence after delaying a certain time when the rising edge or the falling edge of the synchronization signal arrives, which results in the proportion of the bright period and the dark period of the screen during the exposure time of each row of pixels is the same, wherein data of each row of the pixels after exposure is configured to obtain a fingerprint image, the pixel array comprises M rows of pixels and the exposed data of the M rows of the pixels is processed and spliced to form the fingerprint image. <EOS>