Ramazan CELIK, 10/21/2022 08:09 PM
Download (206 Bytes)
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)