pointCloudX, pointCloudY, pointCloudZ, reprojError = cv2.triangulatePoints(pts1, pts2, E, P, P1)
这段代码运行报错说:
projPoints2 is not a numpy array, neither a scalar
怎么解决!
函数形式:cv.triangulatePoints( projMatr1, projMatr2, projPoints1, projPoints2[, points4D] )
错误提示是projPoints2不是一个numpy数组,也不是标量
所以问题是你有的参数类型不对,对照函数形式可以看出,是参数'P'类型错误