class_docstr: Random horizontal flipping.
  
  Parameters
  ----------
  p : float
      chance [0, 1] to flip
class_docstr_tok: ["Random","horizontal","flipping",".","Parameters","--","--","--","--","--","p",":","float","chance","[","0",",","1","]","to","flip"]
code: def __init__(self, p):
      super(DetHorizontalFlipAug, self).__init__(p=p)
      self.p = p
  
imports: import json
  import logging
  import random
  import warnings
  import numpy
  from ..base import numeric_types
  from ..None import ndarray
  from ..ndarray._internal import _cvcopyMakeBorder
  from ..None import io
  from .image import RandomOrderAug, ColorJitterAug, LightingAug, ColorNormalizeAug
  from .image import ResizeAug, ForceResizeAug, CastAug, HueJitterAug, RandomGrayAug
  from .image import fixed_crop, ImageIter, Augmenter
  from ..util import is_np_array
  from ..None import numpy
label_desc: Use image node_id 1 to create a new DetHorizontalFlipAug object from inherited base classes: DetAugmenter with example: obj = DetHorizontalFlipAug(p)