How can you access a webcam's zoom function?
Hello my friends,
I was wondering if there is any way to access the functionality of a webcamera to zoom in/out of a captured video stream. I'm displaying a camera stream window in my application and I would like to add a feature to zoom in/out via a slider. Is it possible using the JavaCV or do you have any other suggestions ?
Thanks a lot in advance :)
Yeehaw
Does your camera support zooming? If no, you can use resize functionality. For accessing to such camera functionality you can use interfaces provided by your system like video4linux. For java exists lib - v4l4j, (http://code.google.com/p/v4l4j/wiki/Examples#Dealingwithcontrols).
Yes it supports zooming, I'm using it to capture QR-Codes. I want to give the user the opportunity to zoom in and out when necessary, if the QR-codes couln't be detected yet. So zooming in and out of the image itself wouldn't do the trick I quess, because the image wouldn't get sharper by doing that. Thank you for your suggestion, I'll have a look at it :)