cannot unpack non-iterable numpy.float64 object python3 opencv
问题 I am getting this error and cant understand why the issue is appearing. Below will be the code and error. The result of the last printable workout [-8.54582258e-01 9.83741381e+02] left [ 0.776281243 -160.77584028] right The code error happens in make_coordinates and the line is slope, intercept = line_parameters Here's the full code: import cv2 import numpy as np vid = cv2.VideoCapture('carDriving.mp4') def processImage(image): gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) blur = cv2