All Questions
2 questions
3
votes
1
answer
2k
views
Converting a sequence of ppm images to video with python
I'm trying to make a video out of ppm images using IPython (python 2.7).
I wrote this code :
import cv2
import glob
img1 = cv2.imread('C:/Users/Joseph/image0.ppm')
height, width, layers = img1.shape
...
2
votes
2
answers
3k
views
OpenCV Brightness & Contrast like in Gimp
I want adjust the contrast in Python's OpenCV like in Gimp. I want do this:
In Gimp it is simple. I just use Colors->Brightness & Contrast, and set contrast to 127.
But I don't know how to do ...