Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CONTRIBUTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ Pranav Patel, B120044 - happiestDay.java
Biswajit Sahoo, B420017 - dynMem.c
Prince Kumar, B320033 - pattern.c
Saurav Pati, B120057 - mycode.c
Piyush Mishra, B120041 - fctrl.cpp
Piyush Mishra, B120041 - fctrl.cpp
Priyanka Rai, B320034 - webcam.py
14 changes: 14 additions & 0 deletions webcam.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import cv2
import numpy as np
import random

cap= cv2.VideoCapture(0)
while True:
ret, frame = cap.read()
cv2.imshow('frame', frame)
cv2.imshow("final image",output)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
cv2.destroyAllWindows()