I'm trying to add black boxes to a numpy RGB image frame array with the shape (4000,4000,3). The center x,y points of the black boxes are in a second numpy array shape (100,2). My issue is I don't know an efficient way in numpy to create a third array of all points that I want to color black that are x,y +/- 2 for every box center point in the second array.
