class_docstr: Distort the input image randomly.
  
  Args:
      lower(float): The lower bound value for enhancement, default is 0.5.
      upper(float): The upper bound value for enhancement, default is 1.5.
  
  Returns:
      img(np.ndarray): Distorted image.
      data(dict): Image info and label info.
class_docstr_tok: ["Distort","the","input","image","randomly",".","Args",":","lower","(","float",")",":","The","lower","bound","value","for","enhancement",",","default","is","0.5.","upper","(","float",")",":","The","upper","bound","value","for","enhancement",",","default","is","1.5",".","Returns",":","img","(","np.ndarray",")",":","Distorted","image",".","data","(","dict",")",":","Image","info","and","label","info","."]
code: def random_brightness(self, img: PIL.Image):
      e = np.random.uniform(self.lower, self.upper)
      return PIL.ImageEnhance.Brightness(img).enhance(e)
  
imports: import os
  import random
  from typing import Callable
  import cv2
  import PIL
  import numpy
  import paddlehub.vision.transforms.functional
  from paddlehub.vision.utils import box_crop, box_iou_xywh
label_desc: Use image node_id 2 for calling the RandomDistort obj's underlying member method code with example usage: obj.random_brightness(img) and returns: PIL