Skip to content

Here i upload some Computer Vision basic programs or codes of small projects.

Notifications You must be signed in to change notification settings

mykg/Capture-Camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Capture-Camera

Here i upload some Computer Vision basic programs or codes of small projects.

#Filter_Camera.py import os = to use os(linux i have used) commands import cv2 = to import cv module cap = cv2.VideoCapture(0)/(1) = to open camera for snap grey_color = cv2.cvtColor(photo,cv2.COLOR_BGR2GRAY) = to set filter

#cam_by_myk.py import cv2 = to import cv module cap = cv2.VideoCapture(0) = to open camera
x , photo = cap.read() = to save snap in a variable named as photo print(x) = to print value of execution cv2.imwrite('/root/Desktop/myphoto.png',photo) = to save snap to a given path cap.release() = to release the camera

About

Here i upload some Computer Vision basic programs or codes of small projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages