python install opencv

pip install opencv-python
pip install opencv-contrib-python

Here is what the above code is Doing:
1. Importing the required libraries
2. Reading the image
3. Converting the image to grayscale
4. Applying Gaussian Blur to reduce the noise
5. Applying Canny Edge Detection
6. Finding the contours
7. Finding the convex hulls
8. Drawing the contours and convex hulls
9. Showing the image