code: def in_quadrangle(point, entrance, im_h, im_w):
      mask = np.zeros((im_h, im_w, 1), np.uint8)
      cv2.fillPoly(mask, [entrance], 255)
      p = tuple(map(int, point))
      if mask[p[1], p[0], :] > 0:
          return True
      else:
          return False
  
imports: import os
  import cv2
  import time
  import numpy
  import collections
  import math
label_desc: Use image node_id 10 for calling a global function with example usage: in_quadrangle(point, entrance, im_h, im_w) and returns: True, False