mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-23 20:11:10 +00:00
Update main.py
This commit is contained in:
parent
eaa1b39b80
commit
616f7812d6
|
@ -4,7 +4,10 @@ cap = cv2.VideoCapture(0)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
success, img = cap.read()
|
success, img = cap.read()
|
||||||
|
|
||||||
|
blurImage = cv.GaussianBlur(img,(5,5),0)
|
||||||
grayImg = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
|
grayImg = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
|
||||||
cv2.imshow("Grayimage", grayImg)
|
cv2.imshow("Grayimage", grayImg)
|
||||||
|
cv2.imshow("Blur", blurImage)
|
||||||
cv2.imshow("image",img)
|
cv2.imshow("image",img)
|
||||||
cv2.waitKey(10)
|
cv2.waitKey(10)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user