Do you know you can also change or get the capturing device (inbuilt camera, video, or webcam feed) properties while using it? Yes, it is as easy as getting shape and resizing the image array.
In this OpenCV python tutorial part, we will explore those methods, and see how we can use them, and debug if we encounter any issues.
Didn’t read the previous parts? Check out those parts so that you can get familiar with and understand every method efficiently.
Welcome to OpenCV Python Beginners Tutorial Part 3.
In case if you missed reading the Second tutorial of OpenCV python, then it is recommended to read the second part at OpenCV Python Tutorial Part 2.
In our last tutorial, we covered some basics tasks like:
Now, In this tutorial, we will begin the article from where we left off.
Note: In this tutorial, We…
Welcome to OpenCV Python Beginners Tutorial Part 2.
In case you have not read the first part of the OpenCV tutorial Series, then click here to visit First Part of OpenCV tutorial Series.
As you know, we covered some basics & 4basics tasks of OpenCV Python in our first tutorial.
Now, In this tutorial, we will begin the article from where we left off.
Let’s get started:
Code:
image = cv2.imread("victory.png", cv2.IMREAD_COLOR)
print(image.shape) #to print the shape of an image
print(image.size) #to display the size of an image
Let’s understand the code:
image = cv2.imread("victory.png", cv2.IMREAD_COLOR)
In the First Line…
Computer vision is a broad area of study where we program/code computers to do computer vision-related tasks.
In short, we can say that with the help of computer vision, we can teach computers to do visual tasks, like Face recognition, Image blurring, Autonomous driving, Changing a person’s face to another person face (Deep Fake), and a lot’s more.
There are many libraries out therefor computer vision-related tasks, but we mainly focus on the OpenCV (Open Source) library and python programming.
Instead of Math’s behind the functions, this article focuses on the practical approach.
Computer Vision Enthusiast/Programmer & BCA Student