Posted On: Feb 22, 2018
The cv2.line() method in the OpenCV is used to draw a line.
cv2.line(image, start_point, end_point, color, thickness)
Here the image is the source image where the line should be drawn. Start_point and end_point are the coordinates for the starting and ending point of the line. They are represented as a tuple value of x & y. color represents the color for the line. BGR represents the Blue Green Red color values of the line. Thickness represents the thickness of the line in px.
Never Miss an Articles from us.
Blurring, Smoothing, Distortion, Warp Stabilizer, alpha extract, bilateral, color matrix, chrome hold are few video filters available in OpenCV....