White balance and brightness setting

Discussions on extending SharpCap using the built in Python scripting functionality
Post Reply
ikeken
Posts: 2
Joined: Fri Feb 23, 2024 2:57 pm

White balance and brightness setting

#1

Post by ikeken »

How do I set "Image Controls/Brightness, White Bal(R), White Bal(B)" from a Python script?
My camera is ASI662MC. I am using the latest version 4.1.11804.0-64bit.
I could not find the command.

Thank you.
User avatar
admin
Site Admin
Posts: 13344
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: White balance and brightness setting

#2

Post by admin »

Hi,

something like

Code: Select all

SharpCap.SelectedCamera.Controls.FindByName("Brightness").Value = 20
should do the trick.

cheers,

Robin
ikeken
Posts: 2
Joined: Fri Feb 23, 2024 2:57 pm

Re: White balance and brightness setting

#3

Post by ikeken »

Hi Robin,

White Balance can now also controlled by following code.

Code: Select all

SharpCap.SelectedCamera.Controls.FindByName("White Bal (R)").Automatic=False
SharpCap.SelectedCamera.Controls.FindByName("White Bal (R)").Value=90
Thank you very much !
Post Reply