code: def draw_landmarks(img, lms):
      try:
          img = img.copy()
  
          for i, part in enumerate(parts_68[1:]):
              circular = []
  
              if i in (4, 5, 6, 7):
                  circular = [part[0]]
  
              for p1, p2 in zip(part, list(part[1:]) + circular):
                  p1, p2 = lms[p1], lms[p2]
  
                  line(img, p2[1], p2[0], p1[1], p1[0], 1)
      except:
          pass
      return img
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  import menpo.io
  from menpo.image import Image
  from menpo.shape import PointCloud
  import cv2
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.contrib.framework.python.ops import variables
  from tensorflow.python.training import optimizer
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import variables
  from menpo.transform import Translation, Scale
  from menpo.shape import PointCloud
label_desc: Use image node_id 7 for calling a global function with example usage: draw_landmarks(img, lms) and returns: img