Skip to content

upasana099/camera-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camera Application -OpenCV

A collection of Python scripts for various computer vision tasks using the OpenCV library.

1. Feature: Zoom and Capture

Description

This script utilizes OpenCV to interact with the webcam, providing functionalities such as zooming the camera feed and capturing images with a timestamp. It also supports video recording with start and stop options.

Usage

  1. Run the script.
  2. Use the trackbar to adjust zoom levels.
  3. Press 'c' to capture an image with a timestamp.
  4. Press 'v' to start or stop recording a video with a timestamp.
  5. Press 'Esc' to exit the program.

2. Image Processing

Description

This script demonstrates various ways to interact with a webcam, providing various features such as zooming, image capture, video recording, and image processing.

Usage

  1. Run the script.
  2. Adjust the zoom level using the 'Zoom' trackbar.
  3. Press 'c' to capture a still image.
  4. Press 'e' to extract yellow color from the frame.
  5. Press 'r' to rotate the frame by 10 degrees.
  6. Press 't' to apply a threshold. 7.Press 'b' to apply Gaussian blur with customizable parameters.
  7. Press 's' to apply a sharpening filter.
  8. Press 'Esc' to exit the program.

Dependencies

  • OpenCV: 4.x
  • NumPy: Latest

3. Logo Overlay and Edge Detetection

Description

This script overlays the OpenCV logo onto the live webcam feed. It includes a dynamic timestamp and a constant red border around the frame.

Usage

  1. Run the script.
  2. The OpenCV logo will be blended with the webcam feed.
  3. Press 's' to toggle Sobel X filter.
  4. Press 'd' to toggle Canny edge detection.
  5. Press '4' to toggle the display of multiple processed windows.

Dependencies

  • OpenCV: 4.x
  • NumPy: Latest

4. SIFT Object Recognition

Description

This script utilizes the SIFT algorithm for object recognition in live webcam feed. It matches features between a reference image and the current frame and provides options for capturing images and recording videos.

Usage

  1. Run the script.
  2. Features between the reference image and webcam feed will be displayed.
  3. Press 'c' to capture an image with a timestamp.
  4. Press 'v' to start or stop recording a video with a timestamp.
  5. Press 'q' or 'Esc' to exit the program.

Dependencies

  • OpenCV: 4.x

Releases

No releases published

Packages

No packages published

Languages