السلام عليكم
import face_recognition
from PIL import Image , ImageDraw
david = face_recognition.load_image_file("David.png")
david_locations = face_recognition.face_locations(david)
left , top , right , bottom = david_locations
img = Image.fromarray(david)
draw = ImageDraw.Draw(img)
draw.rectangle(((left,top), (right,bottom)), outline='green' , width=5)
img.show()