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","."]
code: def __init__(self, online=False):
      self.online = online
  
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 1 to create a new OnlineProcessor object from inherited base classes: Processor with example: obj = OnlineProcessor(online)