code: def py_nms_wrapper(thresh):
      def _nms(dets):
          return nms(dets, thresh)
  
      return _nms
  
imports: import numpy
  from ..cython.cpu_nms import cpu_nms
label_desc: Use image node_id 1 for calling a global function with example usage: py_nms_wrapper(thresh) and returns: _nms, nms