docstr: Contruct text detection model based on the configuration in .yaml file.
  
  Parameters
  ----------
  config : dict
      Configuration dictionary.
  
  Returns
  -------
  None.
docstr_tok: ["Contruct","text","detection","model","based","on","the","configuration","in",".yaml","file",".","Parameters","--","--","--","--","--","config",":","dict","Configuration","dictionary",".","Returns","--","--","--","-","None","."]
code: def construct_model(self, config):
      """
      Contruct text detection model based on the configuration in .yaml file.
  
      Parameters
      ----------
      config : dict
          Configuration dictionary.
  
      Returns
      -------
      None.
      """
      self.model = Configurable.construct_class_from_config(
          config
      ).structure.builder.build(self.device)
  
imports: import os
  import math
  import yaml
  from shapely.geometry import Polygon
  import PIL.Image
  import numpy
  import cv2
  import pyclipper
  import torch
  from .model.constructor import Configurable
label_desc: Use image node_id 4 for calling the DBNet obj's underlying member method code with example usage: obj.construct_model(config) without return types