code: def initDetector(self, detector_path):
      return self.get_detector(
          detector_path,
          device=self.device,
          quantize=self.quantize,
          cudnn_benchmark=self.cudnn_benchmark,
      )
  
imports: from .recognition import get_recognizer, get_text
  from .utils import group_text_box, get_image_list, calculate_md5, get_paragraph, download_and_unzip, printProgressBar, diff, reformat_input, make_rotated_img_list, set_result_with_confidence, reformat_input_batched, merge_to_free
  from .config import *
  from bidi.algorithm import get_display
  import numpy
  import cv2
  import torch
  import os
  import sys
  from PIL import Image
  from logging import getLogger
  import yaml
  import json
label_desc: Use image node_id 3 for calling the Reader obj's underlying member method code with example usage: obj.initDetector(detector_path) and returns: self