code: def __init__(self, model, cache=True):
      super().__init__(cache)
  
      self.model = self.generate_mapping(model)
  
imports: import os
  from nlpaug.model.char import Character
label_desc: Use image node_id 1 to create a new Ocr object from inherited base classes: Character with example: obj = Ocr(model, cache)