class_docstr: Get Norfair detections from MOTChallenge text files containing detections
class_docstr_tok: ["Get","Norfair","detections","from","MOTChallenge","text","files","containing","detections"]
code: def __next__(self):
      if self.frame_number <= self.length:
          self.frame_number += 1
          # Frame_number is always 1 unit bigger than the corresponding index in self.sorted_by_frame, and
          # also we just incremented the frame_number, so now is 2 units bigger than the corresponding index
          return self.sorted_by_frame[self.frame_number - 2]
  
      raise StopIteration()
  
imports: import os
  import numpy
  from rich import print
  from rich.progress import track
  from norfair import Detection
  from collections import OrderedDict
label_desc: Use image node_id 4 for calling the DetectionFileParser obj's underlying member method code with example usage: obj.__next__() and returns: self