It appears the notch on the Xiaomi Mi 7 is more than just a design choice. A leaked snap reveals a setup within the notch that looks very similar to Apple's Face ID, which is essentially an Xbox kinect module. Apple's Face ID uses a dot projector and an infrared camera to unlock your phone using your face. The image below, of Xiaomi's alleged implementation, features enough hardware to replicate the task offering the same level of security. Here's Apple's Face ID as reference. Recent surfaced images showed a rather large notch on the Xiaomi Mi 7, similar to the one on the...
Source: https://www.gsmarena.com/is_xiaomi_making_a_face_id_clone_for_the_mi_7-news-31068.php