code: def __init__(self, model_path, device="cpu"):
      if cv2 is None:
          raise ValueError("`cv2` is needed for `Body`")
      if gaussian_filter is None:
          raise ValueError("`scipy` is needed for `Body`")
      if label is None:
          raise ValueError("`scikit-image` is needed for `Hand`")
      self.model = handpose_model()
      model_dict = util.transfer(self.model, torch.load(model_path))
      self.model.load_state_dict(model_dict)
      self.model.eval()
      self.model.to(device)
  
file_path: carefree-learn/cflearn/api/cv/third_party/openpose/hand.py
imports: import numpy
  import torch
  from .model import handpose_model
  from .None import util
label_desc: Use image node_id 1 to create a new Hand object from inherited base classes: object with example: obj = Hand(model_path, device)