#python
*****************code******************
import cv2
import numpy as ranjithreddy
def sketch(image):
img_gray = cv2.cvtColor(image, cv2.COLOR_BGRA2RGBA)
img_gray_blur = cv2.GaussianBlur(img_gray, (5,5), 0)
canny_edges = cv2.Canny(img_gray_blur, 50, 68)
ret, mask = cv2.threshold(canny_edges, 80, 255, cv2.THRESH_BINARY_INV)
return mask
cap = cv2.VideoCapture(0)
while True:
ret, full_frame = cap.read()
cv2.imshow("Ranjith's Live Sketcher", sketch(full_frame))
if cv2.waitKey(1) == 13:
break
cap.release()
********************end*************************
En esta página del sitio puede ver el video en línea convert live video into sketch using python with code||learnlickpro|| de Duración hora minuto segunda en buena calidad , que subió el usuario learnlickpro 15 mayo 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 102 veces y le gustó 8 a los espectadores. Disfruta viendo!