code: def __init__(self, device: torch.device):
      body_modelpath = download_model("body_pose_model")
      hand_modelpath = download_model("hand_pose_model")
  
      self.device = device
      self.use_half = False
      self.body_estimation = Body(body_modelpath, device)
      self.hand_estimation = Hand(hand_modelpath, device)
  
file_path: carefree-learn/cflearn/api/cv/third_party/openpose/api.py
imports: import os
  import torch
  import numpy
  from .None import util
  from .body import Body
  from .hand import Hand
  from .....misc.toolkit import download_model
label_desc: Use image node_id 1 to create a new OpenposeDetector object  with example: obj = OpenposeDetector(device)