code: def __init__(
      self,
      algorithm="CRNN",
      image_shape=[3, 32, 320],
      char_type="ch",
      batch_num=1,
      char_dict_path="./ppocr_keys_v1.txt",
  ):
      self.rec_image_shape = image_shape
      self.character_type = char_type
      self.rec_batch_num = batch_num
      char_ops_params = {}
      char_ops_params["character_type"] = char_type
      char_ops_params["character_dict_path"] = char_dict_path
      char_ops_params["loss_type"] = "ctc"
      self.char_ops = CharacterOps(char_ops_params)
      self.label_ops = CTCLabelDecode(char_ops_params)
  
imports: import cv2
  import copy
  import numpy
  import math
  import re
  import sys
  import argparse
  import string
  from copy import deepcopy
label_desc: Use image node_id 1 to create a new OCRReader object from inherited base classes: object with example: obj = OCRReader(algorithm, image_shape, char_type, batch_num, char_dict_path)