class_docstr: DataCollector of Pipeline, collect results in every frames and assign it to each track ids.
  mainly used in mtmct.
  
  data struct:
  collector:
    - [id1]: (all results of N frames)
      - frames(list of int): Nx[int]
      - rects(list of rect): Nx[rect(conf, xmin, ymin, xmax, ymax)]
      - features(list of array(256,)): Nx[array(256,)]
      - qualities(list of float): Nx[float]
      - attrs(list of attr): refer to attrs for details
      - kpts(list of kpts): refer to kpts for details
      - skeleton_action(list of skeleton_action): refer to skeleton_action for details
    ...
    - [idN]
class_docstr_tok: ["DataCollector","of","Pipeline",",","collect","results","in","every","frames","and","assign","it","to","each","track","ids",".","mainly","used","in","mtmct",".","data","struct",":","collector",":","-","[","id1","]",":","(","all","results","of","N","frames",")","-","frames","(","list","of","int",")",":","Nx","[","int","]","-","rects","(","list","of","rect",")",":","Nx","[","rect","(","conf",",","xmin",",","ymin",",","xmax",",","ymax",")","]","-","features","(","list","of","array","(","256",",",")",")",":","Nx","[","array","(","256",",",")","]","-","qualities","(","list","of","float",")",":","Nx","[","float","]","-","attrs","(","list","of","attr",")",":","refer","to","attrs","for","details","-","kpts","(","list","of","kpts",")",":","refer","to","kpts","for","details","-","skeleton_action","(","list","of","skeleton_action",")",":","refer","to","skeleton_action","for","details","...","-","[","idN","]"]
code: def __init__(self):
      # id, frame, rect, score, label, attrs, kpts, skeleton_action
      self.mots = {
          "frames": [],
          "rects": [],
          "attrs": [],
          "kpts": [],
          "features": [],
          "qualities": [],
          "skeleton_action": [],
          "vehicleplate": [],
      }
      self.collector = {}
  
file_path: PaddleDetection/deploy/pipeline/datacollector.py
imports: import os
  import copy
  from collections import Counter
label_desc: Use image node_id 1 to create a new DataCollector object from inherited base classes: object with example: obj = DataCollector()