Image Processing in Python using Opencv

  • Prerequisites for image processing
pip install opencv-python
import cv2
  1. img = cv2.imread(“path”) :For reading the image, use the imread() method of the cv2 module. path is varible whish shows the image source.
Input Code
Input Code

Thank you for your valuable time and don’t forget to provide feedbacks.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store