Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/c/PCV-HEAD/examples/pca_graylevel.py   PCV(Download)
 
# Get list of images and their size
imlist = imtools.get_imlist('fontimages/') # fontimages.zip is part of the book data set
im = array(Image.open(imlist[0])) # open one image to get the size 
m,n = im.shape[:2]

src/p/c/PCV-HEAD/examples/ch2_matching_graph.py   PCV(Download)
 
# list of downloaded filenames
imlist = imtools.get_imlist(download_path)
nbr_images = len(imlist)