title: I want to write an image list to a folder after predicting. How can I solve it?
body: <pre><code>predict=[]
  for img in glob.glob("test1/*.jpg"):
      n= cv2.imread(img)
      predicted = model.prediction(n)
      predict.append(predicted) 
  </code></pre>
  
  <p>How do I save this predicted image list as an images to a folder?
    Model returns 224x224 grayscale pictures.</p>