Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

camera.contrast increase at each new capture with overlay #693

Open
watchever opened this issue Jun 11, 2021 · 0 comments
Open

camera.contrast increase at each new capture with overlay #693

watchever opened this issue Jun 11, 2021 · 0 comments

Comments

@watchever
Copy link

watchever commented Jun 11, 2021

Hello, I have set the contrast value of the camera for example at value=10 for a serie of captures.
Set awb_mode and exposure_mode to off.
Then I loop and take several captures and for each new capture the contrast increase... I guess it increases of the value I have initially set. I must set back the contrast to 0 to stop the increasing contrast.
It is like contrast is a relative value to the previous one...
Is it normal ?

My source code :

camera.iso = 800
camera.shutter_speed = 250000
camera.exposure_mode = 'off'
g = camera.awb_gains
camera.awb_mode = 'off'
camera.awb_gains=g
camera.contrast = 10

camera.capture(output, 'rgb') #output is a numpy array
overlay = camera.add_overlay(output.tobytes(), format='rgb', layer=3)
for i in range(10):
camera.capture(output, 'rgb')
overlay.update(output.tobytes())

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant