class_docstr: 24 keypoints 3D dataset for pose estimation. 
  
  each item is a list of images
  
  The dataset loads raw features and apply specified transforms
  to return a dict containing the image tensors and other information.
  
  Args:
      dataset_dir (str): Root path to the dataset.
      image_dir (str): Path to a directory where images are held.
class_docstr_tok: ["24","keypoints","3D","dataset","for","pose","estimation",".","each","item","is","a","list","of","images","The","dataset","loads","raw","features","and","apply","specified","transforms","to","return","a","dict","containing","the","image","tensors","and","other","information",".","Args",":","dataset_dir","(","str",")",":","Root","path","to","the","dataset",".","image_dir","(","str",")",":","Path","to","a","directory","where","images","are","held","."]
code: def kps3d_process(self, kps3d_path):
      count = 0
      kps = []
      kps_vis = []
  
      with open(kps3d_path, "r") as f:
          lines = f.readlines()
          for line in lines:
              if line[0] == "v":
                  kps.append([])
                  line = line.strip("\n").split(" ")[1:]
                  for kp in line:
                      kps[-1].append(float(kp))
                  count += 1
  
                  kps_vis.append([1, 1, 1])
  
      kps = np.array(kps)  # 52，3
      kps_vis = np.array(kps_vis)
  
      kps *= 10  # scale points
      kps -= kps[[0], :]  # set root point to zero
  
      kps = np.concatenate((kps[0:23], kps[[37]]), axis=0)  # 24,3
  
      kps *= 10
  
      kps_vis = np.concatenate(
          (kps_vis[0:23], kps_vis[[37]]), axis=0
      )  # 24,3
  
      return kps, kps_vis
  
imports: import os
  import cv2
  import numpy
  import json
  import copy
  import pycocotools
  from pycocotools.coco import COCO
  from .dataset import DetDataset
  from ppdet.core.workspace import register, serializable
  from paddle.io import Dataset
label_desc: Use image node_id 5 for calling the Keypoint3DMultiFramesDataset obj's underlying member method code with example usage: obj.kps3d_process(kps3d_path) and returns: kps,  kps_vis