The idea would be to create an APP where each account is a DOOR.
The app will communicate with the Raspberry
In each account users will create a training folder using their phone camera and will upload few pictures for the owner and other users (with schedule entry system)
please check the file attach.
I have few other contact of legit people use open cv face detection to trigger lock ([login to view URL])