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 :: discord.py add role on member join 
Python :: normalize image in cv2 
Python :: random date python 
Python :: how to delete na values in a dataframe 
Python :: how to time a python script 
Python :: python auto module installer 
Python :: how to remember to put a semicolon after your code 
Python :: permanent redirect django 
Python :: discord.py make command admin only 
Python :: max of two columns pandas 
Python :: majority in array python 
Python :: power set python 
Python :: bee movie script 
Python :: how to multiply in django template 
Python :: join list with comma python 
Python :: remove punctuation from string python 
Python :: how to save matplotlib figure to png 
Python :: rectangle in tkinter 
Python :: werkzeug.datastructures.filestorage to numpy 
Python :: sklearn random forest regressor 
Python :: pandas read_csv drop last column 
Python :: open choose files from file explorer python 
Python :: how to make a blank window open up in python 
Python :: mean squared error python 
Python :: tkinter load image 
Python :: python selenium move cursor to element 
Python :: pd.to_datetime python 
Python :: python copy file to another directory 
Python :: how to scroll by in selenium python 
Python :: how to load ui file in pyqt5 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =