Skip to content

Instantly share code, notes, and snippets.

@kdm9
Created June 24, 2014 07:25
Show Gist options
  • Save kdm9/4436254d01827803c3fb to your computer and use it in GitHub Desktop.
Save kdm9/4436254d01827803c3fb to your computer and use it in GitHub Desktop.
from skimage.io import imread
import cv2
path = ""
arr = imread(path, plugin="freeimage")
print arr
print arr.shape
arr = cv2.imread(path)
print arr
print arr.shape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment