In this video on OpenCV Python Tutorial (2020) For Beginners 1, I am going to show you how to read, resize, crop and show or display Images in OpenCV using anaconda spyder IDE. we are going to use the following commands:
1. cv2.imread('img_path') to read the image.
2. cv2.imshow('image', img) to show the image on the screen.
3. cv2.waitKey(0) to wait for a key event.
4. cv2.destroyAllWindows() to destroy all windows.
5. cv2.resize('img_name', img) to resize images and also crop images.
OpenCV github page
Source Code: https://github.com/mecusbans/Opencv-P...
OpenCV is an image processing library created by Intel and later supported by Willow Garage and now maintained by Itseez. opencv is available on Mac, Windows, Linux. Works in C, C++, and Python.
It is an Open Source, free, easy to use and install.
At the end of this tutorial, you will have a firm grasp of Computer Vision techniques using OpenCV libraries. This tutorial will be your gateway to the world of data science.
Feel the real power of Python and programming! The tutorial offers you a unique approach of learning how to code by solving real world problems.