Save an image in pgm format + Python
Hi everyone, I've got a function that return an image. I would like to save this image but changing the format to pgm. How could I do that? Thanks in advance.
Hi everyone, I've got a function that return an image. I would like to save this image but changing the format to pgm. How could I do that? Thanks in advance.
Hi berak, thanks for your answer. I read about "imwrite" in the doc but it doesn't work on my code.
I'm using the same function that in this link (Aligining_faces_immages ---> CropFace): http://docs.opencv.org/modules/contrib/doc/facerec/facerec_tutorial.html?highlight=crop%20images#aligning-face-images
In the end of the example the image is saved with "save" but I would like to change the extension to .pgm ¿Is it possible?
Asked: 2013-09-01 14:02:18 -0600
Seen: 6,998 times
Last updated: Sep 01 '13
Area of a single pixel object in OpenCV
Need to .pgm image of specific size for FaceRecognizer in python
how to understand which functions available in python bindings?
Problems installing opencv on mac with python
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
OpenCV DescriptorMatcher matches