Ask Your Question

ref13's profile - activity

2019-03-19 09:13:04 -0600 received badge  Famous Question (source)
2017-01-12 23:48:07 -0600 received badge  Notable Question (source)
2015-09-18 02:13:45 -0600 received badge  Popular Question (source)
2015-01-25 09:45:13 -0600 received badge  Student (source)
2014-06-19 02:33:10 -0600 asked a question QueryFrame too slow

Hi all. I'm trying to play several videos at once using pyqt and opencv. The problem that I'm facing right now is that whenever cv.QueryFrame is called, it takes more than a minute to return anything (so, trying to play 10 videos at the same time takes forever, although at the end they are finally played). I'm using python 2.7, opencv 2.4.9 and OpenSuse 13.1 Thanks ind advanced

class VideoWidget(QWidget):
""" A class for rendering video coming from OpenCV """

def __init__(self, video_path, parent=None):
    QWidget.__init__(self)
    self._capture = cv.CaptureFromFile(video_path)

    frame = cv.QueryFrame(self._capture)
2012-12-24 01:55:23 -0600 commented answer Apply homography on a sinlge point

Thanks, I will try the example and with the simpler version

2012-12-24 01:52:51 -0600 received badge  Supporter (source)
2012-12-23 06:32:21 -0600 asked a question Apply homography on a sinlge point

I'm rotating an image using findHomography, now I want to use transform a single point using the homography matrix. Using perspectiveTransform returns 0 and making homography*matPoint returns a value outside the origina image. What else should I do? Thanks