docstr: Deprecated, please use get_landmarks_from_image
  
  Arguments:
      image_or_path {string or numpy.array or torch.tensor} -- The input image or path to it
  
  Keyword Arguments:
      detected_faces {list of numpy.array} -- list of bounding boxes, one for each face found
      in the image (default: {None})
      return_bboxes {boolean} -- If True, return the face bounding boxes in addition to the keypoints.
      return_landmark_score {boolean} -- If True, return the keypoint scores along with the keypoints.
docstr_tok: ["Deprecated",",","please","use","get_landmarks_from_image","Arguments",":","image_or_path","{","string","or","numpy.array","or","torch.tensor","}","--","The","input","image","or","path","to","it","Keyword","Arguments",":","detected_faces","{","list","of","numpy.array","}","--","list","of","bounding","boxes",",","one","for","each","face","found","in","the","image","(","default",":","{","None","}",")","return_bboxes","{","boolean","}","--","If","True",",","return","the","face","bounding","boxes","in","addition","to","the","keypoints",".","return_landmark_score","{","boolean","}","--","If","True",",","return","the","keypoint","scores","along","with","the","keypoints","."]
code: def get_landmarks(
      self,
      image_or_path,
      detected_faces=None,
      return_bboxes=False,
      return_landmark_score=False,
  ):
      """Deprecated, please use get_landmarks_from_image
  
      Arguments:
          image_or_path {string or numpy.array or torch.tensor} -- The input image or path to it
  
      Keyword Arguments:
          detected_faces {list of numpy.array} -- list of bounding boxes, one for each face found
          in the image (default: {None})
          return_bboxes {boolean} -- If True, return the face bounding boxes in addition to the keypoints.
          return_landmark_score {boolean} -- If True, return the keypoint scores along with the keypoints.
      """
      return self.get_landmarks_from_image(
          image_or_path,
          detected_faces,
          return_bboxes,
          return_landmark_score,
      )
  
file_path: face-alignment/face_alignment/api.py
imports: import torch
  import warnings
  from enum import IntEnum
  from skimage import io
  import numpy
  from packaging import version
  from tqdm import tqdm
  from .utils import *
  from .folder_data import FolderData
label_desc: Use image node_id 2 for calling the FaceAlignment obj's underlying member method code with example usage: obj.get_landmarks(image_or_path, detected_faces, return_bboxes, return_landmark_score) and returns: self