class_docstr: Random adjust brightness, contrast, saturation and hue according to the given random range and probability, respectively.
  
  Args:
  
      brightness_range(float): Boundary of brightness.
      brightness_prob(float): Probability for disturb the brightness of image.
      contrast_range(float): Boundary of contrast.
      contrast_prob(float): Probability for disturb the contrast of image.
      saturation_range(float): Boundary of saturation.
      saturation_prob(float): Probability for disturb the saturation of image.
      hue_range(float): Boundary of hue.
      hue_prob(float): Probability for disturb the hue of image.
class_docstr_tok: ["Random","adjust","brightness",",","contrast",",","saturation","and","hue","according","to","the","given","random","range","and","probability",",","respectively",".","Args",":","brightness_range","(","float",")",":","Boundary","of","brightness",".","brightness_prob","(","float",")",":","Probability","for","disturb","the","brightness","of","image",".","contrast_range","(","float",")",":","Boundary","of","contrast",".","contrast_prob","(","float",")",":","Probability","for","disturb","the","contrast","of","image",".","saturation_range","(","float",")",":","Boundary","of","saturation",".","saturation_prob","(","float",")",":","Probability","for","disturb","the","saturation","of","image",".","hue_range","(","float",")",":","Boundary","of","hue",".","hue_prob","(","float",")",":","Probability","for","disturb","the","hue","of","image","."]
code: def __init__(
      self,
      brightness_range: float = 0.5,
      brightness_prob: float = 0.5,
      contrast_range: float = 0.5,
      contrast_prob: float = 0.5,
      saturation_range: float = 0.5,
      saturation_prob: float = 0.5,
      hue_range: float = 18,
      hue_prob: float = 0.5,
  ):
      self.brightness_range = brightness_range
      self.brightness_prob = brightness_prob
      self.contrast_range = contrast_range
      self.contrast_prob = contrast_prob
      self.saturation_range = saturation_range
      self.saturation_prob = saturation_prob
      self.hue_range = hue_range
      self.hue_prob = hue_prob
  
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 1 to create a new RandomDistort object  with example: obj = RandomDistort(brightness_range, brightness_prob, contrast_range, contrast_prob, saturation_range, saturation_prob, hue_range, hue_prob)