Ask Your Question

test_tube_baby's profile - activity

2020-03-11 18:07:27 -0600 received badge  Taxonomist
2013-01-03 14:18:04 -0600 asked a question Webcam incompatible with OpenCV? Insufficient buffer memory error for device

I have a usb camera that I am using for robotics related development purposes. I am using Ubuntu Linux. The webcam works fine with Cheese webcam capture, mplayer, v4l, ffmpeg, etc - I can capture images, videos, etc.

However, when I try and capture image or video using OpenCV, I get the following runtime error:

VIDIOC_QUERYMENU: Invalid argument

Insufficient buffer memory on /dev/video0 -- decreaseing buffers

Why would the camera not work with OpenCV? I tested the same OpenCV program with a different USB webcam and it works fine, it is just this webcam that is having problems with OpenCV. Is there any way I can get around this error?

2012-10-03 12:15:10 -0600 asked a question OpenCV stitcher transform

Dear OpenCV users,

I have used the stitcher routine to stitch a set (SetA) of 6 images together to create a panorama. Now, I would like to stitch another set (SetB) of 6 images together, but with the same transform as applied to SetA.

SetA are 8bit PGM images. SetB images are of different RGB values, and are not 8bit, but 16bit.

I just want to stitch them together so I know that pixel (u,v) from setA matches to pixel (u,v) of setB.

How can I do this?

2012-10-02 23:49:05 -0600 received badge  Student (source)
2012-10-02 14:32:54 -0600 received badge  Editor (source)
2012-10-02 13:20:20 -0600 asked a question Pixel to pixel mapping for stitcher routine?

Dear OpenCV users,

I have implemented OpenCV's stitcher() routine using C++.

Let's say I have a set of 5 images, and they are all stitched together to create a panoramic image.

How can I get the mapping of pixel (ap,bp) in the panoramic image to it's parent image (1 or 2 or 3 or 4 or 5) pixel (an,bn)?

I see that the stitcher routine outputs Initial intrinsic parameters, and Camera parameters. But I do not understand those parameters