1 | initial version |
You need the fillConvexPoly function with the following points: (0,0), (frame.shape(1),0), (0,frame.shape(0)), (0,0) and black color (0,0,0). Concerning the points, that's the top left corner, then the top right, bottom left and back to top left.