CV Lab 03 - Introduction to OpenCV (Updated 2024)
CV Lab 03 - Introduction to OpenCV (Updated 2024)
This laboratory exercise will introduce OpenCV which is a popular and widely
used library for image processing and computer vision applications. The field of
computer vision is very important for many applications. A large number of
algorithms employ aspects of vision such as in feature extraction, image stitching,
stereovision, optical flow, structure from motion, segmentation, appearance
matching etc. Before starting computer vision, it is important to familiarize with
the basics of OpenCV which is the subject of this lab.
Objectives
Lab Conduct
To make the circle solid, the thickness argument is set to -1 in the cv2.circle function.
The above shown pattern must be placed on the images. It is up to you to choose the
radius of the circles as well as their colors. At least, 2 different colors must be used.
Provide the code and all relevant screenshots of the final result.
Using loops, go through every pixel of the loaded image and place them in the array
is such a way that it is flipped horizontally. Finally, use the imshow function on the
array to display the reflected image.