cartoonizer icon indicating copy to clipboard operation
cartoonizer copied to clipboard

When image doesn't have three channels...

Open ejlai opened this issue 4 years ago • 0 comments

Needed to add error check to address this:

    output = cartoonize(image)
  File "C:\Users\...\cartoonizer\cartoonizer.py", line 18, in cartoonize
    x, y, c = output.shape
ValueError: not enough values to unpack (expected 3, got 0)

I can give a try when I have time.

ejlai avatar Mar 24 '20 19:03 ejlai