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 plt is None:
          raise ValueError("`matplotlib` is needed for `Body`")
      self.model = bodypose_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/body.py
imports: import numpy
  import math
  import torch
  from .None import util
  from .model import bodypose_model
label_desc: Use image node_id 1 to create a new Body object  with example: obj = Body(model_path, device)