First time here? Check out the FAQ!
answered 2018-04-02 03:15:04 -0600
mask = np.zeros_like(frame, dtype=np.uint8)
updated 2018-04-02 03:16:13 -0600
you need a uchar mask, not an float64 one, so make it: