Skip to content

This Software Captures an image by accessing video or the webcam of your system and save it to your pc.

Notifications You must be signed in to change notification settings

AlcidesTiago/Capturing-Images-from-Webcam-Using-OpenCV-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capturing-Images-from-Webcam-Using-OpenCV-Python

This Software Captures an image by accessing video or the webcam of your system and save it to your pc.

Softwares and packages required:

  1. Python, v3.9.6
  2. Matplotlib, v3.0.2 pip3 install matplotlib
  3. OpenCV, v3. pip install python3-opencv

Read the full document.

How this software:

  1. Run the file Code_WebCam_Capture.py
  2. The webcam will start running.
  3. Bring the picture that you want to save in the webcam frame.
  4. Once the object is in the right frame, press the key 's' to save a picture.
  5. If you want to quit, just press 'q'.
  6. After hitting 's' to save the picture,you will get a view of the saved image which will automatically close in 1.6s and a new image file will be created in the same directory as that of the program. The image will be saved as Saved_image.jpg
  7. The file saved_image is furthered converted to grayscale and then resized to 30x30 size for further use in relevant programs, for example, machine learning, which was my primary requirement of creating this file.

About

This Software Captures an image by accessing video or the webcam of your system and save it to your pc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages