Need to create bounding box only when person is looking towards the camera

please help…!! :disappointed_relieved: :disappointed_relieved: :disappointed_relieved:

I have been doing face and eyes detection using haarcascades. I wish to detect whether a person is looking towards the camera or not. Please guide me to complete this task.