Segmentation model to predict face forward and profile parts of the face
There is a library called facemesh for Python. It can detect face landmark points in Python. Connecting facemesh points to crop image to a desired polygon is trivial.