Skip to main content
added 34 characters in body
Source Link
ButterDog
  • 5.3k
  • 6
  • 47
  • 62

There's opencv for python (documentation here).

import cv2 import numpy as np img = ... # Your image as a numpy array cv2.imwrite("filename.png", np.zeros((10,10))img) 

useful if you need to do more processing other than saving.

There's opencv for python (documentation here).

import cv2 import numpy as np cv2.imwrite("filename.png", np.zeros((10,10))) 

useful if you need to do more processing other than saving.

There's opencv for python (documentation here).

import cv2 import numpy as np img = ... # Your image as a numpy array cv2.imwrite("filename.png", img) 

useful if you need to do more processing other than saving.

deleted 36 characters in body
Source Link
ButterDog
  • 5.3k
  • 6
  • 47
  • 62

There's opencv for python (documentation heredocumentation here).

import cv2 import numpy as np cv2.imwrite("filename.png", np.zeros((10,10))) 

useful if you need to do more processing other than saving.

There's opencv for python (documentation here).

import cv2 import numpy as np cv2.imwrite("filename.png", np.zeros((10,10))) 

useful if you need to do more processing other than saving.

There's opencv for python (documentation here).

import cv2 import numpy as np cv2.imwrite("filename.png", np.zeros((10,10))) 

useful if you need to do more processing other than saving.

Updated dead link
Source Link
ButterDog
  • 5.3k
  • 6
  • 47
  • 62

There's opencv for python (http://docs.opencv.org/trunk/doc/py_tutorials/py_tutorials.htmldocumentation here).

import cv2 import numpy as np cv2.imwrite("filename.png", np.zeros((10,10))) 

useful if you need to do more processing other than saving.

There's opencv for python (http://docs.opencv.org/trunk/doc/py_tutorials/py_tutorials.html).

import cv2 import numpy as np cv2.imwrite("filename.png", np.zeros((10,10))) 

useful if you need to do more processing other than saving.

There's opencv for python (documentation here).

import cv2 import numpy as np cv2.imwrite("filename.png", np.zeros((10,10))) 

useful if you need to do more processing other than saving.

Source Link
ButterDog
  • 5.3k
  • 6
  • 47
  • 62
Loading