Can I do lesson 2 on real time system?

I’m actually having a problem getting this code to work for me. I am also using opencv but the images are coming out strange

p = PIL.Image.fromarray(n)
t = pil2tensor(p, dtype=np.uint8)
im = Image(t)
learn.predict(im)
1 Like