Projet

Général

Profil

Feature #14381 » Lines.py

Ramazan CELIK, 21/10/2022 20:09

 

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)
    (1-1/1)