Skip to content

Instantly share code, notes, and snippets.

@Prajwalprakash3722
Created November 4, 2021 06:30
Show Gist options
  • Save Prajwalprakash3722/4f855de94d2e8a58f8c1379afd7c0600 to your computer and use it in GitHub Desktop.
Save Prajwalprakash3722/4f855de94d2e8a58f8c1379afd7c0600 to your computer and use it in GitHub Desktop.
import cv2 # we are importing the cv2 module from opencv
image_path = '/home/prajwal/OpenCv/image_1.jpeg' #change this path by your image path
image = cv2.imread(image_path) # Reading of image
cv2.imshow('Image-Reading', image) # Image output in new Window
cv2.waitKey(0)
cv2.destroyAllWindows()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment