cv2.circle(frame, (prediction[0], prediction[1]), int(radius), (0, 255, 0))
cv2.error: OpenCV(3.4.17) :-1: error: (-5:Bad argument) in function 'circle'
> Overload resolution failed:
> - Can't parse 'center'. Sequence item with index 0 has a wrong type
> - Can't parse 'center'. Sequence item with index 0 has a wrong type
cv2.circle(frame, (prediction[0], prediction[1]), int(radius), (0, 255, 0))
解决方法参考
cv2.error: OpenCV(4.5.4-dev) :-1: error: (-5:Bad argument) in function ‘circle‘_GXQ的博客-优快云博客