The notch at the front includes a 20 MP camera, a proximity sensor, the earpiece, infrared lighting and an infrared lens. The latter two are used for the new Infrared face unlock feature, one that according to Xiaomi can securely unlock a device even in the dark.
source: firstpost.com