daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Feb 14th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top