在OpenCV中,以下哪个代码片段用于绘制一条直线?()A.cv2.line(image,(0,0),(100...
A.cv2.line(image,(0,0),(100,100),(255,0,0),2)
B.cv2.drawLine(image,(0,0),(100,100),(255,0,0),2)
C.cv2.plotLine(image,(0,0),(100,100),(255,0,0),2)
D.cv2.paintLine(image,(0,0),(100,100),(255,0,0),2)