I am trying to overlay a transparent red rectangle box on top of an image and return the whole thing from a function. For this, I\'m using cv2.addWeight(). I
cv2.addWeight()