Skip to content

Compile error #1

Description

@pendex900x

In python 3 give this error:

py test.py

Traceback (most recent call last):
  File "test.py", line 24, in <module>
    (new, cnts, _) = cv2.findContours(edged.copy(), cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
ValueError: not enough values to unpack (expected 3, got 2)

And in python 2,7 this error:

py -2 test.py

Traceback (most recent call last):
  File "test.py", line 24, in <module>
    (new, cnts, _) = cv2.findContours(edged.copy(), cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
ValueError: need more than 2 values to unpack

What versions of dependencies do you use?? and which one py version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions