public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* libv4l: zoom, pan and tilt?
@ 2009-08-23 13:09 Németh Márton
  0 siblings, 0 replies; only message in thread
From: Németh Márton @ 2009-08-23 13:09 UTC (permalink / raw)
  To: Linux Media Mailing List

Hi,

I am using lib4l to get access to my camera from Flash. I get the pictures
right. In Flash the usual used resolution is as low as 320x240.

I have a 1.3MegaPixel webcam which means it could do 1280x1024 resolution. The
problem with this webcam is that it has a fixed focus and the objects which
are too close to the camera are not sharp enough. This brakes some barcode
reader applications such as http://en.barcodepedia.com/ or
http://www.gurulib.com/_scripts/barcode/gurulib_barcode.html .

My idea would be to add support for creating 320x240 by not just downscaling
the image but doing digital
 - zooming (with controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE and
   V4L2_CID_ZOOM_CONTINUOUS)
 - panning (controls V4L2_CID_PAN_RELATIVE, V4L2_CID_PAN_ABSOLUTE
   and V4L2_CID_PAN_RESET) and
 - tilting (controls V4L2_CID_TILT_RELATIVE, V4L2_CID_TILT_ABSOLUTE and
   V4L2_CID_TILT_RESET)
based on a higher resolution image. In this case the object could be in the sharp
range in focus and the mentioned applications could work.

What do you think, is it possible to implement such functionality in libv4l?

Regards,

	Márton Németh

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-23 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-23 13:09 libv4l: zoom, pan and tilt? Németh Márton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox