to open up your camera in python codes

import cv2
capture = cv2.VideoCapture(0)

while(capture.isOpened()):
    ret,imagen= capture.read()
    if ret == True:
        cv2.imshow("video",imagen)
        if cv2.waitKey(1) & 0xFF ==ord("s"):
            break

capture.release()
cv2.destroyAllWindows()

Comments

Popular posts from this blog

Pcb Fault Detection(Deep Learning Technique)

using your age and duration of workout finding how much calories you burned!

list of keyword in python