Face aligment check with DLIB
问题 I am just wondering is it possible to detect is the face aligned correctly, straight to the camera with DLIB and OpenCV? I tried this code to detect shape and get the points of face: detector = dlib.get_frontal_face_detector() predictor = dlib.shape_predictor(args["shape_predictor"]) vs = VideoStream(0).start() while True: # grab the frame from the threaded video stream, resize it to # have a maximum width of 400 pixels, and convert it to # grayscale frame = vs.read() frame = imutils.resize