def findLandmarks(predictor, rgbImg, bb):
    """
    Find the landmarks of a face.

    :param bb: Bounding box around the face to find landmarks for.
    :type bb: dlib.rectangle
    :return: Detected landmark locations.
    :rtype: list of (x,y) tuples
    """

    assert predictor is not None
    assert rgbImg is not None
    assert bb is not None

    points = predictor(rgbImg, bb)

    return [(p.x, p.y) for p in points.parts()]