code: def __init__(self, name, input_name, output_name):
      super().__init__(name)
      self.input_name = input_name
      self.output_name = output_name
  
imports: import io
  import os
  import sys
  import base64
  import argparse
  import yaml
  import numpy
  from PIL import Image
  from paddle_serving_server.web_service import WebService, Op
  from preprocess_ops import ResizeImage, CenterCropImage, NormalizeImage, ToCHW, Compose
label_desc: Use image node_id 1 to create a new SegService object from inherited base classes: WebService with example: obj = SegService(name, input_name, output_name)