Dynamic Change of Auto White Balance Mode

Hi,

I’m trying to change AutoWhiteBalance Mode by calling API setAWBMode of a NvArgusCamera but I’m able to see changes during init when I’m trying to dynamically change the awbMode then at that time I’m getting illegal opcode message

inside a callback function I’m calling this setAWBMOde

void NvArgusCameraHelper::toggleAutoWhiteBalance()

{
    // Argus::UniqueObj<Argus::Request> request(iCaptureSession->createRequest());

    // Argus::IRequest *iRequest = Argus::interface_cast<Argus::IRequest>(request);

    // iAutoControlSettings = Argus::interface_cast<Argus::IAutoControlSettings>(iRequest->getAutoControlSettings());

    // iAutoControlSettings->setAwbLock(false);

    iAutoControlSettings->setAwbMode(Argus::AWB_MODE_AUTO);
}

Have reference the argus_camera sample APP, You should be able configure the AWB from the GUI.

Thanks

Ya , I have gone through that sample but I’m getting opcode error,

Do we need to create new instance of auto control settings (iAutoControlSettings) or we should use one that has already been created

Sorry for the late response, is this still an issue to support? Thanks

Thanks,
I resolved the issue

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.