Python OpenCV | cv2.arrowedLine() method

Last Updated : 19 Dec, 2025

The cv2.arrowedLine() method in OpenCV is used to draw an arrow between two points on an image. It lets you choose the arrow’s start point, end point, color, thickness, and arrow-tip size making it useful for annotations, directions, object tracking, and visual marking in images.

Note: For this article we will use a sample image "logo.png", to download it click here.

Example: This example loads an image and draws a simple green arrow using minimal parameters.

Python
import cv2

img = cv2.imread("logo.png")

start = (50, 50)
end = (200, 200)

img = cv2.arrowedLine(img, start, end, (0, 255, 0), 3)

cv2.imshow("Arrow", img)
cv2.waitKey(0)
cv2.destroyAllWindows()

Output