Face detection model using opencv, Deep learning or other AI related frameworks are widely in use by the big tech companies like Snapchat and Tesla. Here's an of my own face detection model, where I have fetched the already trained data from OpenCV and implemented in order for my program to detect one or more than one faces when they confront the webcam/phonecam.
Working Model: