Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 41027 articles
Browse latest View live
↧

Unhandled exception for GpuMat in Visual Studio C++

I want to use CUDA/GPU in OpenCV in Visual Studio. For example, `cuda::GpuMat`. I successfully build OpenCV with the extra modules with CUDA enabled I tried the following code #include #include...

View Article


tonemap result black image

Hello, I try to implement the Reinhard tonemaper. I want to convert one float array fill with HDR values by components so my code is this : cv::Mat imageHdr(cv::Size2i(_width, _height), CV_64FC3,...

View Article


Cropping vertical countours, getting bounding box borders instead of area

I am trying to extract columns of a table in an image. I have managed to successfully identify the vertical regions of interest as shown in this: ![image...

View Article

Trackbars sometimes fail to show up

I have been using cv2's Trackbar gui functionality in Python for a couple months now, with no problems until today. I had been using open cv 4.2.0, but switched to most recent (4.3.x) today after these...

View Article

opencv_videoio_gstreamer420_64.dll load failed +WINRT error

i'm trying to make a simpl-ish image recognition and processing code in openCV 4.20 and c++ in VS19. PRoblem is: it worked fine to an **undefined moment**, and then suddenly i stopped seeing any image...

View Article


cv2.imread() gives None, but the path/cwd is correct

Hello, I had this problem already and it was solved without any clear reason. I had my Jupyter Notebook tab open and didn't change anything and then it worked. I already read articles and other threads...

View Article

ImportError: dlopen failed:...

I just build an ImageComparison application developed with Kivy framework. Application had been build successfully by buildozer . But the application is instantly closing when opened showing this...

View Article

How do I save a video multiple times in python

I am trying to save the video many times If I use first writer then it save video only one time in this code And use this code then it doesn't save the video import cv2 import time cap =...

View Article


Conversion JPEG to raw image

Hi All, I have a requirement to convert jpeg image to raw image for further processing. Could you please guide how ican i do this through OPEN CV Thanks in advance, Abhishek

View Article


accelerate OpenCV functions on gpu through CUDA

Dear all, I'm working on an image procession python algorithm using openCV. Since I have a lot of images to proccess, I'm trying to accelerate it on a NVIDIA Jetson card using CUDA. During the last...

View Article

Accelerate undistort() with parralelism on GPU

Dear all, I'm currently using opencv accelerated functions from cv::cuda. I also want to use the **undistort()** function, wich is already parralelised on CPU. However, the use of this function still...

View Article

NMSBoxes output with top_k parameter

Hi all, the `top_K` parameter in the `cv2.dnn.NMSBoxes` correspond to the maximum number of bounding-boxes to return right ? Like if we know how many object we expect in the image. If that's the case,...

View Article

how to use pyopencv_to function

I am trying to create a wrapper in pybind11 to create part of the code in c ++ and I need to use `pyopencv_to` inside my function but when I want to build my project I'm getting this error `error:...

View Article


Enabling Address Sanitizer for OpenCV builds

Is there a way to enable Address Sanitizer for OpenCV builds? I've tried adding OPENCV_EXTRA_CXX_FLAGS="-fsanitize=address"; however, I receive configuration errors claiming: > Compiler doesn't...

View Article

Compiling OpenCv with CUDA support in Windows 10

Attempting to compile OpenCV with CUDA support in Windows 10. CUDA is installed correctly. Keep getting the following error(s) when compiling in Visual Studio. Can anyone suggest next troubleshooting...

View Article


VideoCapture can open an multicast video stream UDP protocol

I need a example to use the VideoCapture() with source multicast video stream in an UDP protocol The same way that VLC media player working with an URL: udp://@239.1.1.100:5001 Do is this possible?

View Article

getting java.lang.UnsatisfiedLinkError in android project

couldn't find "libopencv_java.so"

View Article


How to save video using thread

I am making a program that takes a video for 10 seconds when an object is detected. If 'out' is created before 'while', the video is saved only once when use this code .avi file is just created and...

View Article

Find first non-black pixel

I have a very simple input image: it's fully black and has a tiny bright red dot somewehere in it. The colors are "pure", meaning the blacks are (0,0,0), the red dot is at full 255 red intensity. Now...

View Article

OpenCV HoughCircile detection with refresh window

I need some help for this code! #include #include using namespace std; using namespace cv; Mat src, adaptDst; int block_size, C; void adaptThreshAndShow() { adaptiveThreshold(src, adaptDst, 255,...

View Article
Browsing all 41027 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>