class_docstr: Read images from image path.
  
  Args:
      to_rgb (bool, optional): If converting image to RGB color space. Default: True.
class_docstr_tok: ["Read","images","from","image","path",".","Args",":","to_rgb","(","bool",",","optional",")",":","If","converting","image","to","RGB","color","space",".","Default",":","True","."]
code: def __init__(self, to_rgb: bool = True):
      self.to_rgb = to_rgb
  
imports: import random
  import base64
  from typing import Callable, Union, List, Tuple
  import cv2
  import numpy
  import paddle
  import paddle.nn.functional
  from paddleseg.transforms import functional
  from PIL import Image
label_desc: Use image node_id 1 to create a new LoadImages object  with example: obj = LoadImages(to_rgb)