How to read image and load image in Open CV |Open CV tutorials for beginners

Опубликовано: 30 Сентябрь 2024
на канале: KB Tutorials
4,290
52

In this tutorials we will learn how to read an image using imread in opencv and how to load image using imload in opencv using jupyter notebook.

#OpencvForBeginners,#ImReadOpenCV,#ImShowOpencv

import cv2
import numpy as np
image =cv2.imread('C:\\Users\\Admin\\Desktop\\Untitled Folder\\1.jpg')
cv2.namedWindow('image',cv2.WINDOW_AUTOSIZE)
cv2.imshow('image',image)
cv2.waitKey(0)
cv2.destroyAllWindows()