線を描く
2017/02/08
Python2.7.6, OpenCV3.0.0
import cv2
image = cv2.imread('test.png')
start = (50, 0)
end = (50, 100)
color = (0,0,255)
thick = 2
cv2.line(view_image,start,end,color,thick)
start = (x1, y1)
end = (x2, y2)
color = (blue,green,red)
thick = 2
cv2.line(view_image,start,end,color,thick)