code: def run(self, input):
      input, input_type = self._parse_input(input)
      if input_type == "image":
          results = self.predict_images(input)
      else:
          raise ValueError(
              "Unexpected input type: {}".format(input_type)
          )
      return results
  
file_path: PaddleSeg/contrib/QualityInspector/qinspector/apis/pipeline.py
imports: import glob
  import json
  import os
  import os.path
  from qinspector.cvlib.configs import ConfigParser
  from qinspector.cvlib.framework import Builder
  from qinspector.utils.logger import setup_logger
  from qinspector.utils.visualizer import show_result
label_desc: Use image node_id 4 for calling the Pipeline obj's underlying member method code with example usage: obj.run(input) and returns: results