⚲
Projet
Général
Profil
Connexion
S'enregistrer
Accueil
Projets
Aide
Recherche
:
Polytech Ge Sous Traitance
Tous les projets
Polytech Projets Ge
»
Polytech Ge Sous Traitance
Aperçu
Activité
Roadmap
Demandes
Gantt
Calendrier
Annonces
Documents
Wiki
Fichiers
Dépôt
Télécharger (206 octets)
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)
Chargement...