Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Quickcam express with SAM9G45-EKES: Captured video not clear
PostPosted: Tue Jan 04, 2011 10:57 am 
Offline

Joined: Thu Aug 05, 2010 11:49 am
Posts: 5
Hi all,

I'm using a 'Logitech Quickcam Express' (046d:0840) camera to capture video. I'm using the STV06xx driver for this camera. I'm using a v4l2 example code as my application along with the above mentioned driver. The example code can be found at the below link:

http://v4l2spec.bytesex.org/spec/capture-example.html

I've modified the above code to suit my requirement. I've attached my application code. I'm running the application on the AT91 linux4sam kernel running on an AT91SAM9G45-EKES board. Using this code I'm able to capture video. But the captured video is not clear enough.

The quickcam express camera is a USB webcam with a 360x296 CMOS sensor (Agilent/HP HSDC1000). Hence its output is of size 360x296. The AT91SAM9G45-EKES board contains a TFT LCD screen of size 480x272 (model number LB043WQ1). Hence I can accomodate an image of size 360x272 on this LCD. But I'm not able to capture an image of this size on the LCD. I'm able to capture an image of size 180x272. When I try to capture an image of size 360x272, I get four [180 (360/2) x148 (296/2)] images (1 is a replication of the other).Can you please suggest some modification to my code that will help me capture the complete image?

I've attached the captured video file. It is basically a collection of images. This can be veiwed using an application like 'YUV Devil'. Enter the width as '480' when asked by the application. You can get the application at the following link:

http://sourceforge.net/projects/yuvdevil/

I've focused the camera on my computer monitor in this file to avoid confusion by capturing too many objects. How do I get a clear video on the LCD?

Regards,

Sudhindra Nayak


Attachments:
File comment: Use 7-zip to open the archive. You can download it at:

http://www.7-zip.org/download.html

Files.7z [1.6 MiB]
Downloaded 35 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: