code: def __init__(
      self, paths, images, batch_size, face_detection=True, scale=1
  ):
      # 图像列表
      self.imgs = self.load_datas(paths, images)
  
      # 输入数据
      self.input_datas = self.preprocess(
          self.imgs, batch_size, face_detection, scale
      )
  
file_path: PaddleHub/modules/image/Image_gan/style_transfer/U2Net_Portrait/processor.py
imports: import os
  import cv2
  import numpy
  import paddlehub
label_desc: Use image node_id 1 to create a new Processor object  with example: obj = Processor(paths, images, batch_size, face_detection, scale)