class_docstr: Convert color space from RGB to LAB.
class_docstr_tok: ["Convert","color","space","from","RGB","to","LAB","."]
code: def __call__(self, img: np.ndarray) -> np.ndarray:
      img = img / 255
      img = np.array(img).transpose(2, 0, 1)
      img = self.rgb2lab(img)
      return np.array(img).transpose(1, 2, 0)
  
imports: import random
  from typing import Callable, Union, List, Tuple
  import cv2
  import PIL
  import numpy
  import paddlehub.vision.functional
label_desc: Use image node_id 4 for calling the RGB2LAB obj's underlying member method code with example usage: obj.__call__(img) and returns: np