Ask Your Question

antz24's profile - activity

2017-09-15 12:52:39 -0500 asked a question How do i get window resize event from named window?

How do i get window resize event from named window? Is it possible to get the window resize event from the named window?

2015-04-21 11:15:24 -0500 commented answer VideoReader_GPU Problem

I did. I updated to 2.4.11 version as you stated above but the bug was still there. I haven't updated the ticket yet but I will now.

2015-04-20 12:06:51 -0500 commented answer VideoReader_GPU Problem

I created a bug issue here but i don't know how to add the fix. Do you know how to do this?

2015-04-17 15:54:10 -0500 commented answer VideoReader_GPU Problem

Figured it out! There is a bug in the grab function of the video_reader.cpp file. The code is returning false before the frameQueue_ is empty . The code has to go into the infinite for loop and dequeue the frames, if not there will be frames missing at the end. I had to comment out frameQueue_->isEndOfDecode and create my own return. I can send my source if needed.

2015-04-16 12:11:55 -0500 commented answer VideoReader_GPU Problem

@StevenPuttemans I tried the new version but the issue still seems to occur. I was able to trace it down to the HandlePictureDisplay callback function. I added counters to the HandlePictureDecode and HandlePictureDisplay to verify they are both counting the same amount of frames but i found the HandlePictureDisplay stops before the video is done. The HandlePictureDecode callback is counting the correct amount of frames though. Do you know why this could be?

2015-04-07 12:28:33 -0500 commented answer VideoReader_GPU Problem

Was this issue ever resolved? I am getting the same issue in 2.4.9 .

2015-04-07 12:27:40 -0500 answered a question VideoReader_GPU Problem

Was this issue ever resolved? I am getting the same issue in 2.4.9 .

2015-03-31 12:45:54 -0500 asked a question VideoWriter_GPU H.264 tearing

Hello,

I was wondering if anyone has experienced any video tearing when using the VideoWriter_GPU ? For some odd reason, when i play the avi video back after recording there are some anomalies in the video which look like tearing. I am using version 2.4.8 with FFMPEG

2015-03-13 17:01:54 -0500 received badge  Student (source)
2015-02-12 17:47:07 -0500 asked a question opencv_ffmpeg249_64 Sourc

Does anyone know where i can get the source file for the opencv_ffmpeg249_64. dll ? There are exported functions i want to access.

2015-01-28 14:11:13 -0500 received badge  Enthusiast
2015-01-16 14:50:24 -0500 asked a question Multiple GPU streams

Is it possible to set or get the queue size for each stream? Also, What exactly does waitForCompletion() do? Does it wait for GPU processing of each Mat to complete or ?

2014-12-29 13:47:13 -0500 asked a question Issues converting colorspace using gpu::CvtColor

I have recently tried offloading my image processing code to the GPU but i am not getting the same image transformation output as the CPU code. The issue seems to be occurring when I try converting to a different color space. The code works great in the CPU code but when i try using the GPU module the image becomes fuzzy and distorted and 1/2 of the image is white Has anyone had issues with this call? I am running visual studio 2010 with opencv 2.4.9 and CUDA 6.5. Below is the code:

Mat m_MatSrc;             // From file
Mat m_MatDst;            // After copy or resize
cv::gpu::GpuMat dst, src;

capture.read(m_MatSrc);

src.upload(m_MatSrc);  

//resize(m_MatSrc, m_MatDst, cv::Size(dst_width, dst_height), 0, 0, 1);
gpu::resize(src, dst, cv::Size(dst_width, dst_height), 0, 0, 1);

//cv::cvtColor(m_MatDst, m_MatDst, CV_RGB2RGBA, 4);  
gpu::cvtColor(dst, dst, CV_RGB2RGBA, 4);

dst.download(m_MatDst);

cv::imshow("Image2",m_MatDst);   //Diagnostic View port
cvWaitKey(1);