
import cv2 as cv

img = cv.imread('cats.jpg') # path to ilage
cv.imshow('Cats', img)
def trait(img, start_point, end_point):
    cv.line(img, start_point, end_point, (0, 0, 255)) 
    return cv.imshow(img)