class_docstr: Abstract base class for processing data in online mode.
  
  Derived classes must implement the following methods:
  
  - process_online(): process the data in online mode,
  - process_offline(): process the data in offline mode.
class_docstr_tok: ["Abstract","base","class","for","processing","data","in","online","mode",".","Derived","classes","must","implement","the","following","methods",":","-","process_online","(",")",":","process","the","data","in","online","mode",",","-","process_offline","(",")",":","process","the","data","in","offline","mode","."]
docstr: Process the data in online mode.
  
  This method must be implemented by the derived class and should process
  the given data frame by frame and return the processed output.
  
  Parameters
  ----------
  data : depends on the implementation of subclass
      Data to be processed.
  reset : bool, optional
      Reset the processor to its initial state before processing.
  kwargs : dict, optional
      Keyword arguments for processing.
  
  Returns
  -------
  depends on the implementation of subclass
      Processed data.
code: def process_online(self, data, reset=True, **kwargs):
      """
      Process the data in online mode.
  
      This method must be implemented by the derived class and should process
      the given data frame by frame and return the processed output.
  
      Parameters
      ----------
      data : depends on the implementation of subclass
          Data to be processed.
      reset : bool, optional
          Reset the processor to its initial state before processing.
      kwargs : dict, optional
          Keyword arguments for processing.
  
      Returns
      -------
      depends on the implementation of subclass
          Processed data.
  
      """
      raise NotImplementedError("Must be implemented by subclass.")
  
imports: from __future__ import absolute_import, division, print_function
  import argparse
  import itertools
  import multiprocessing
  import os
  import sys
  from collections.abc import MutableSequence
  import numpy
  from .utils import integer_types
label_desc: Use image node_id 3 for calling the OnlineProcessor obj's underlying member method code with example usage: obj.process_online(data, reset) without return types