Skip to content

Rempest/Cam_Vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This project demonstrates basic camera operation using the OpenCV library in Python. The program captures a stream from the camera, converts the image to grayscale, and displays it in a separate window.

How the code works

  1. The camera is connected at index 1 (can be changed to 0 if the main camera).

  2. Frames are captured in an infinite loop.

  3. Each frame is converted to grayscale using cv2.cvtColor.

  4. The result is displayed in the window The picture.

  5. To exit the program, press the p key.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages