Skip to content

Get and set camera properties #28

@Asubayo

Description

@Asubayo

Hello,

I would like to get and set some properties values (brightness, contrast...)

I tried to do the following things in the function "void triangleApp::keyDown (char c)" :

if(c == 'P') {
long current_value,min_value,max_value,stepping_delta,flags,defaultValue;
VI.getVideoSettingCamera(dev,VI.propBrightness,min_value,max_value,stepping_delta,current_value,flags,defaultValue);

// Print value

}

But I can't get any corrects value with propBrightness and others properties.
I get :
SetVideoSetting - QueryINterface Error
and false values for current_value, min_value etc ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions