face object detection code example Example: python face detection # Detect facesfaces = face_cascade.detectMultiScale(img, 1.1, 4)