Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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
Comment

PREVIOUS NEXT
Code Example
Python :: uuid regex 
Python :: number table python 
Python :: save a dict to pickle 
Python :: create gui applications with python & qt5 (pyqt5 edition) pdf 
Python :: python pip install matplotlib 
Python :: show all columns pandas 
Python :: python order dataframe according to date time 
Python :: python currnent time now 
Python :: make jupyter notebook wider 
Python :: unique values in pyspark column 
Python :: how to print error in try except python 
Python :: python pandas save df to xlsx file 
Python :: jupyter notebook reload module 
Python :: zsh: command not found: virtualenv 
Python :: python sigmoid function 
Python :: python mkdir 
Python :: ctrl c exception python 
Python :: python windows notification 
Python :: python install ffpyplayer 
Python :: incognito mode in selenium 
Python :: get text from txt file python 
Python :: datetime has no attribute now 
Python :: python matplotlib log scale 
Python :: for every file in the folder do python 
Python :: python reload function from file 
Python :: selenium refresh page python 
Python :: module not found not module name channels in python 
Python :: python convert nan to empty string 
Python :: make string numeric pandas 
Python :: how to create a list from csv python 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =