code: def get(self, img, max_num=0):
      bboxes, kpss = self.det_model.detect(
          img, max_num=max_num, metric="default"
      )
      if bboxes.shape[0] == 0:
          return []
      ret = []
      for i in range(bboxes.shape[0]):
          bbox = bboxes[i, 0:4]
          det_score = bboxes[i, 4]
          kps = None
          if kpss is not None:
              kps = kpss[i]
          face = Face(bbox=bbox, kps=kps, det_score=det_score)
          for taskname, model in self.models.items():
              if taskname == "detection":
                  continue
              model.get(img, face)
          ret.append(face)
      return ret
  
file_path: insightface/python-package/insightface/app/face_analysis.py
imports: from __future__ import division
  import glob
  import os.path
  import numpy
  import onnxruntime
  from numpy.linalg import norm
  from ..model_zoo import model_zoo
  from ..utils import DEFAULT_MP_NAME, ensure_available
  from .common import Face
label_desc: Use image node_id 3 for calling the FaceAnalysis obj's underlying member method code with example usage: obj.get(img, max_num) and returns: ret, list