Apple's Face ID feature that allows a device to be unlocked with a facial scan is limited to the iPhone and the iPad at the current time, but code found in macOS Big Sur suggests that Face ID may come to Macs in the future.
Adding a TrueDepth camera system and Face ID to the Mac would be a logical next step for the feature, and 9to5Mac located Face ID references in the latest Big Sur beta, including an extension with code to support a "PearlCamera" function.
"Pearl" is the codename that Apple has used for Face ID and the TrueDepth camera system since the feature first launched in the iPhone X.
There are "FaceDetect" and "BioCapture" references inside the extension, and those names certainly suggest a TrueDepth camera feature for Mac.
Right now, Apple's MacBook Pro and MacBook Air models use Touch ID, and have a Touch ID button built into the keyboard that's powered by the T2 chips in the machines. Apple's Macs have supported Touch ID since 2016 when the Touch Bar was first introduced in MacBook Pro models.
There's no word on when Macs might get Face ID support or which Macs will be first to get it, but there are some major design tweaks rumored for machines like the iMac, the MacBook Air, and the MacBook Pro with the transition to mini-LED and Apple Silicon chips, so Face ID could be rolled out alongside of these updates.
It could also be a feature that will take longer to implement, and we've thus far heard no confirmed rumors on when Apple might make the transition.
Source: Macrumors