oCam 1CGN-U "Exposure, Auto"

Post Reply
Posts: 9
Joined: Wed Jan 17, 2018 6:16 pm
languages_spoken: Bahasa Indonesia

oCam 1CGN-U "Exposure, Auto"

Unread post by muhammadsyahyas » Wed Mar 21, 2018 1:02 am

Hello! When I was developing my software in C++, I found that there is a valid control called "Exposure, Auto" on the camera, but I don't know how to set_control it. I need to set the exposure control of the camera to manual. I see that sometimes my software ran the exposure of the camera automatically, so I think if I camera.set_control("Exposure, Auto", somevalue), it will solve my proble. Thanks :)

Posts: 136
Joined: Mon Mar 14, 2016 1:54 pm
languages_spoken: english
ODROIDs: Odroid-C2

Re: oCam 1CGN-U "Exposure, Auto"

Unread post by WITHROBOT » Thu Mar 22, 2018 11:24 am

To set auto exposure on:
camera->set_control("Exposure, Auto", 0x3);
To set manual on:
camera->set_control("Exposure, Auto", 0x1);

Post Reply

Return to “oCAM USB 3.0 Camera”

Who is online

Users browsing this forum: No registered users and 0 guests