Guest User

Untitled

a guest
Feb 14th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. from matplotlib import pyplot as plt
  2. import numpy as np
  3. import cv2
  4.  
  5. # Load an color image in grayscale
  6. img = cv2.imread('images/barcode_01.jpg',cv2.IMREAD_COLOR)
  7.  
  8. plt.imshow(img, cmap='gray',interpolation='bicubic')
  9. plt.xticks([]),plt.yticks([])
  10. plt.show()
Add Comment
Please, Sign In to add comment