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)
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)