opencv
How to add noise (Gaussian/salt and pepper etc) to image in Python with OpenCV
The Function adds gaussian , salt-pepper , poisson and speckle noise in an image
Finding red color in image using Python & OpenCV
I am trying to extract red color from an image. I have code that applies threshold to leave only values from specified range:
Using other keys for the waitKey() function of opencv
I’m working on a program (python ,opencv) in which I use the spacebar to go to the next frame, and Esc to exit the program. These are the only two keys i’ve got working. I tried to find out about more keys , tried various codes for them but didnt work. especially arrow keys.
Combining Two Images with OpenCV
I’m trying to use OpenCV 2.1 to combine two images into one, with the two images placed adjacent to each other. In Python, I’m doing:
NumPy/OpenCV 2: how do I crop non-rectangular region?
I have a set of points that make a shape (closed polyline). Now I want to copy/crop all pixels from some image inside this shape, leaving the rest black/transparent. How do I do this?
OpenCV error: the function is not implemented
I’m trying to get OpenCV working with Python on my Ubuntu machine. I’ve downloaded and installed OpenCV, but when I attempt to run the following python code (which should capture images from a webcam and push them to the screen)
Qt and opencv app not working in virtual environment
I created a GUI app using pyqt5 and opencv. The app works fine without activating the virtual env but when I activate the virtual env and run the app it shows this error:
Write opencv frames into gstreamer rtsp server pipeline
I’m trying to put opencv images into a gstreamer rtsp server in python.
I have some issue writing in the mediafactory, I’m new to gst-rtsp-server ancd there’s little documentation so I don’t know exactly if I’m using the right approach. I’m using a thread to start the MainLoop and I’m using the main thread to create a buffer to push in the appsrc element of the mediafactory pipeline. Am I using the right approach to obtain my objective? Can anyone help me? My code is below:
How do I read an image from a path with Unicode characters?
I have the following code and it fails, because it cannot read the file from disk. The image is always None.
