+ 1
How to add Image In Python3?
How to add Image In Python3? Kindly Tell me in details.. I hope you people can Help..thanks
2 Antworten
+ 1
There are two popular image libraries for python PIL and Opencv
Install them with pip, and to show an image
With PIL:
from PIL import Image
im = Image.open("image.jpg")
im.show()
With opencv:
import cv2
img = cv2.imread("test.jpg")
cv2.imshow('image',img)
0
thank u so much