Edge Detection In Pyhton | Python Detect Edges |

Publié le: 11 juin 2022
sur la chaîne: CodeLoop - By Ritik
814
18

#python
#pythonshorts
#shorts
#pythonprogramming
#pythontutorial
#pythonprojects
#python3
Detect edges in python in five lines of code.

Code :
------------------------------------------------------------------------------------------------------------------
import cv2

img = cv2.imread("iron_man.jpg")
to_grey = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
edge = cv2.Canny(to_grey, 30, 100)
cv2.imwrite("iron_man_edge.jpg", edge)

------------------------------------------------------------------------------------------------------------------


Sur cette page du site, vous pouvez voir la vidéo en ligne Edge Detection In Pyhton | Python Detect Edges | durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur CodeLoop - By Ritik 11 juin 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 814 fois et il a aimé 18 téléspectateurs. Bon visionnage!