I have written a code in python opencv. I am trying to write the processed image back to disk but the image is not getting saved and it is not showing any error
I have attached the image of the code here for better understanding, this would help you figure out what I am actually doingI am working on a project in which I
i want to load a lot of images (not sequential names though) from a directory. edit them and then save them in a different directory with their original names i
I pip installed OpenCV-python. The installation seems to be fine and I tested it out on the python IDLE. It ran without any problems. I've been trying to run it
I try combine haar cascade code with histogram code I try this code : import cv2 import numpy as np from matplotlib import pyplot as plt #Cascade jeruk jeru
The Python code given below draws a triangle, how can I fill it with a color inside? Or another easier way to draw a triangle in OpenCV? pts = np.array([[100,3
I am trying to get OpenCV python bindings to work with CUDA, but when I run import cv2 I get the following error: OpenCV loader: os.name="nt" platform.syst
I'm trying to compare two images, one a .png and the other a .jpg. So I need to convert the .png file to a .jpg to get closer values for SSIM. Below is the code
I am intending to skip some histograms of an image in the extreme points of the distribution of any gray image. The extreme points to the left are represented b
I have this image that contains text (numbers and alphabets) in it. I want to get the location of all the text and numbers present in this image. Also I want to
Background I have a bunch of RGBA images. Imagine icons, logos or similar images that I would like to display. These images can be of any color. Please also not
I want to rotate the camera view by 90 degree clockwise with an interrupt button. But the button's state goes back to it's default state when I click once and u
I am trying to create a screen recorder using mss and Opencv in python, the video I am capturing has a very different colours than original computer screen. I t
I'm using a v4l2sink in gstreamer to tee a video stream that I can access in OpenCV. This works when I open the videocapture device and get frames, however at s
I've update from Ubuntu 14.10 to 16.04 yesterday and right now I've tried to run my old python + opencv files but every file with opencv gives the same error:
I'm new to the world of opencv and few days ago I tried to install it. I installed everything and moved the cv2 file from opencv to python 2.7. I tired oving bo
I am going to record video but it's not working public void startRecord() { if (preVideo()) { mRecorder.start(); } isRecording = true; } p
On a Ubuntu 18.04 machine I am trying to use opencv 4.1.2 facedetect in a gstreamer 1.14.5 pipeline but unfortunately the plugin is not installed. I downloaded
I need to normalize the histogram of an image f which mean to applicated an transformation of histogram from image in order to extend the range of value of f to
I'm trying to create a convolution kernel, and the middle is going to be 1.5. Unfortunately I keep running in to ideas on how to do that. I'm trying to create s