<prompt> Create a simple face recognition program.  <response>: Here is a simple face recognition program using the OpenCV library in Python:pythonimport cv2 Load the pre-trained cascade classifierface_cascade cv2.CascadeClassifiercv2.data.haarcascades haarcascade_frontalface_default.xml Access the default webcamcap cv2.VideoCapture0 Infinite loopwhile True: Read the frame _, frame cap.read gray cv2.cvtColorframe, cv2.COLOR_BGR2GRAY Detect faces faces face_cascade.detectMultiScalegray, 1.1, 4 Draw a rectangle around each detected face for x, y, w, h in faces: cv2.rectangleframe, x, y, xw, yh, 255, 0, 0, 2 Show the frame with the rectangle around the face cv2.imshowFace Detection, frame Use the key q to quit the video feed if cv2.waitKey1 ordq: break Release the webcamcap.releasecv2.destroyAllWindowsThis program captures video from the default webcam, detects faces using a pre-trained Haar Cascade classifier, and draws rectangles around the detected faces. The program runs in an infinite loop and can be stopped by pressing the key q. 