Edge Detection In Pyhton | Python Detect Edges |

Veröffentlicht am: 11 Juni 2022
auf dem Kanal: 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)

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


Auf dieser Seite können Sie das Online-Video Edge Detection In Pyhton | Python Detect Edges | mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer CodeLoop - By Ritik 11 Juni 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 814 Mal angesehen und es wurde von 18 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!