1 | initial version |
I needed to show both blue and Green mask in the same output image. So in another forum they helped me.
I just add blue mask and Green mask.
mask = Green_mask + blue_mask
So I used
res = cv2.bitwise_and(frame, frame, mask)
in order to generate image.