code: def draw_points_on_buffer(
      buffer, image_w, image_h, points_2d, color, size=4
  ):
      half = int(size / 2)
      # draw each point
      for p in points_2d:
          x = int(p[0])
          y = int(p[1])
          for j in range(y - half, y + half):
              if j >= 0 and j < image_h:
                  for i in range(x - half, x + half):
                      if i >= 0 and i < image_w:
                          buffer[j][i][0] = color[0]
                          buffer[j][i][1] = color[1]
                          buffer[j][i][2] = color[2]
  
imports: import glob
  import os
  import sys
  import math
  import argparse
  import copy
  import time
  from multiprocessing import Pool
  from PIL import Image
  import carla
  import random
label_desc: Use image node_id 6 for calling a global function with example usage: draw_points_on_buffer(buffer, image_w, image_h, points_2d, color, size) without return types