神笔馬良的博客cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE) ValueError: not enough values to unpack (expected 3, got 2) Process finished with exit code 1 源代码如下: import numpy as ...
蓝易云的博客解决"ValueError: not enough values to unpack (expected 2, got 1)"错误,需要检查你的代码中是否在某处尝试解构(unpack)一个包含元素个数不足的可迭代对象。总结:解决"ValueError: not enough values to ...