title: Edge detection for multiple images
body: <p>Hi I have a set of images and I want to do edge detection for all the images at once. I can do it manually for each image but I believe that is not the right way to do so. How can I do it for all the images at once? I think it should be in a loop but I don't know how to implement that</p>
  
  <p>I have read multiple images as grayscale and now I want to do edge detection for all the images. How do we select the maximum and minimum value parameters for the Canny function. The images can be accessed <a href="https://drive.google.com/open?id=1Cl0RPsO3LooQ4pJSTToRO_oqSUAKZNg_" rel="nofollow noreferrer">here</a></p>
  
  <pre><code>import glob
  import cv2
  
  images = [cv2.imread(file,0) for file in glob.glob("images/*.jpg")]
  edges = cv2.Canny(images,100,200)
  </code></pre>