2008-08-26, 06:00
Hi,
I'm currently in the process of adding software autofocus to guvcview,
but I found image sharpness values not to be exactly as expected, in talks with Alex Seewald, that already has done some programming with autofocus for the pro 9000, he alerted to the fact that focus takes some time to change so I could be getting intermediate frames (between focus values) and this could be causing the unexpected behaviour in sharpness.
The only solution I can think off is by setting some delay between frame grabs when changing focus values, but to determine the amount of delay, I need some info on the real lens speed.
For instance when changing focus from 0 to 255 (Tmax), or from 0 to 25 (T25) and even if these speeds are proportional (Tmax ~= 10*T25).
I have also notice some problems with linux-uvc driver when changing focus values very fast (between frames at 25 or 30 fps), it seems to lock focus, and I need to rmmod, modprobe, the driver, in order to be able to change it again (this problem has only occurred a couple of times).
Can these issues be related ?
Best regards,
Paulo
I'm currently in the process of adding software autofocus to guvcview,
but I found image sharpness values not to be exactly as expected, in talks with Alex Seewald, that already has done some programming with autofocus for the pro 9000, he alerted to the fact that focus takes some time to change so I could be getting intermediate frames (between focus values) and this could be causing the unexpected behaviour in sharpness.
The only solution I can think off is by setting some delay between frame grabs when changing focus values, but to determine the amount of delay, I need some info on the real lens speed.
For instance when changing focus from 0 to 255 (Tmax), or from 0 to 25 (T25) and even if these speeds are proportional (Tmax ~= 10*T25).
I have also notice some problems with linux-uvc driver when changing focus values very fast (between frames at 25 or 30 fps), it seems to lock focus, and I need to rmmod, modprobe, the driver, in order to be able to change it again (this problem has only occurred a couple of times).
Can these issues be related ?
Best regards,
Paulo