Answers for "How to use OpenCV imshow() in a Jupyter Notebook"

1

opencv show image jupyter

from matplotlib import pyplot as plt
import cv2

img = cv2.imread('/Users/barisx/test.jpg')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)

plt.imshow(gray)
plt.title('my picture')
plt.show()
# Problem, More Help -> linkedin.com/in/barisx
Posted by: Guest on September-10-2021

Code answers related to "How to use OpenCV imshow() in a Jupyter Notebook"

Python Answers by Framework

Browse Popular Code Answers by Language