Applied Computer Vision
Applied Computer Vision
Applied Computer Vision
LAB MANUAL
SESSION:2024-2025
Theory: This code snippet utilizes OpenCV to read an image named "example.jpg", displays it
in a window titled "Original Image", waits for a key press, and then writes the same image to a
new file named "output_image.jpg". Finally, it closes all open windows. This script essentially
demonstrates the process of image reading, displaying, and writing using OpenCV.
Code:
Output:
Exp2: OpenCV Line Drawing or simply OpenCV Line Art.
Theory: OpenCV Line Drawing encapsulates a project focused on drawing lines using
OpenCV, while "OpenCV Line Art" suggests an endeavor exploring artistic applications of line
drawing techniques within the OpenCV framework. Both names evoke the essence of creating
lines through OpenCV, with the latter hinting at a more creative or artistic endeavor.
OUTPUT:
Exp3: Webcam Resolution Adjustment using OpenCV.
Theory: Webcam Resolution Adjustment using OpenCV" describes an experiment tailored
towards dynamically modifying the resolution of webcam video streams through OpenCV. This
project aims to explore the manipulation of video input resolutions for various applications such
as image processing, computer vision, or video analysis.
Software Part: PyCharm
Code:
Output:
Exp4: Dynamic Circle Animation or simply Circle Expansion Animation
Theory: Dynamic Circle Animation" encapsulates a project centered around generating
animated visuals of dynamically expanding circles, while "Circle Expansion Animation"
suggests a focused exploration of the process of animating circles as they dynamically grow on
a canvas.
Software Part: PyCharm
Code:
Output:
Exp5: Real-time Face Detection using OpenCV
Theory: Real-time Face Detection using OpenCV" describes a project focused on the detection
of human faces within live video streams using the OpenCV library.
Software Part: PyCharm
Code:
OUTPUT: