opencv报错 ValueError: too many values to unpack (expected 2)
改为:binary,contours,hierarch=cv2.findContours(edges,cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE)原代码:contours,_=cv2.findContours(edges,cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE)在pycharm上运行没问题,在树霉派上会报错,原因是