docstr: Args:
      face_detector_module (class): module to detect face.
docstr_tok: ["Args",":","face_detector_module","(","class",")",":","module","to","detect","face","."]
code: def __init__(self, face_detector_module=None):
      """
      Args:
          face_detector_module (class): module to detect face.
      """
      self.default_pretrained_model_path = os.path.join(
          self.directory, "face_landmark_localization", "model"
      )
      if face_detector_module is None:
          self.face_detector = hub.Module(
              name="ultra_light_fast_generic_face_detector_1mb_640"
          )
      else:
          self.face_detector = face_detector_module
      self._set_config()
  
imports: from __future__ import absolute_import
  from __future__ import division
  import argparse
  import ast
  import os
  import numpy
  import paddle
  import paddle.jit
  import paddle.static
  from .data_feed import reader
  from .processor import base64_to_cv2
  from .processor import postprocess
  from paddle.inference import Config
  from paddle.inference import create_predictor
  import paddlehub
  from paddlehub.module.module import moduleinfo
  from paddlehub.module.module import runnable
  from paddlehub.module.module import serving
label_desc: Use image node_id 1 to create a new FaceLandmarkLocalization object  with example: obj = FaceLandmarkLocalization(face_detector_module)