This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem when trying to capture image from USB web camera

Hi!

I am currently trying to use an USB connected web camera to capture pictures using an EZSDK 5.02.02.60. The USB web camera accessed using v4l2 and by reading the frames as pictures and the store as a bitmap-file. However, there seem to be problems in the USB communication, because the images have lines of missing data. An example image is as follows:

The same program works just fine on my computer, using a linux system with the same camera, which indicates that there is some error in the USB communication on the EVM. Another web camera does not work at all, and it doesn't deliver any picture at all. The source code of the program can be found at http://snipt.org/Iph0, and the capturing is happening on line 321.

Does anyone have a clue on how to solve this, are any idea of what the problem is.