The magic behind the Smart Doorbell application is the face_recognition library and the amazing dlib ML library it is built on. We will use the package manager to install this library.
To install the face_recognition library, do the following:
- In Thonny, click on Tools | Manage packages....
- Type face_recognition in the search box and click on the Find package from PyPI button.
- Click on the ... box next to the Install button at the bottom of the screen:

- Check the Upgrade dependencies checkbox and click on the Install button below the checkbox.
- This library and its dependencies will take quite a while to load onto the ...