code: def __init__(self, d=None, **kwargs):
      if d is None:
          d = {}
      if kwargs:
          d.update(**kwargs)
      for k, v in d.items():
          setattr(self, k, v)
  
file_path: insightface/python-package/insightface/app/common.py
imports: import numpy
  from numpy.linalg import norm
label_desc: Use image node_id 1 to create a new Face object from inherited base classes: dict with example: obj = Face(d)