stesha2016 / lanenet-enet-hnet

Apache License 2.0
88 stars 33 forks source link

TypeError: Scalar value for argument 'color' #3

Closed xuxiuzhi2627 closed 4 years ago

xuxiuzhi2627 commented 4 years ago

how to sovle it? Traceback (most recent call last): File "lanenet_hnet_predict.py", line 187, in predict(args.image_path, args.lanenet_weights, args.hnet_weights) File "lanenet_hnet_predict.py", line 181, in predict mask_image = hnet_predict(image_hnet, hnet_weights, lanes_pts, image_vis) File "lanenet_hnet_predict.py", line 149, in hnet_predict cv2.circle(image, (coefficient_back[0][j], coefficient_back[1][j]), 1, (color[0], color[1], color[2]), 1) TypeError: Scalar value for argument 'color' is not numeric