kbarni / LCCV

LibCamera wrapper library for OpenCV
61 stars 30 forks source link

it's not a issue, but maybe useful #32

Open TkacikMilan opened 2 weeks ago

TkacikMilan commented 2 weeks ago

Hi,

In my tracking program I am using LCCV with Arducam camera imx519 driver. Autofocus mode is missing so I implemented the following code:

if (!controls_.get(controls::AfMode))
    controls_.set(controls::AfMode, controls::AfModeAuto);
if (!controls_.get(controls::AfRange))
    controls_.set(controls::AfRange, controls::AfRangeFull);
if (!controls_.get(controls::AfTrigger))
    controls_.set(controls::AfTrigger, controls::AfTriggerStart);

... this is enough for me, maybe an idea to extend the Options class ...

kbarni commented 2 weeks ago

If you have something functioning, you can propose a pull request.

I can't really write code I can't test, but I'll be happy to add functionality from the contributors.

TkacikMilan commented 2 weeks ago

I will post it after development is complete.