Set background on the pi-camera during initial calibration
This commit is contained in:
parent
eed3c44804
commit
25d2f400b1
1 changed files with 3 additions and 1 deletions
|
|
@ -737,7 +737,7 @@ class StreamingPiCamera2(BaseCamera):
|
||||||
self._initialise_picamera()
|
self._initialise_picamera()
|
||||||
|
|
||||||
@lt.thing_action
|
@lt.thing_action
|
||||||
def full_auto_calibrate(self) -> None:
|
def full_auto_calibrate(self, portal: lt.deps.BlockingPortal) -> None:
|
||||||
"""Perform a full auto-calibration.
|
"""Perform a full auto-calibration.
|
||||||
|
|
||||||
This function will call the other calibration actions in sequence:
|
This function will call the other calibration actions in sequence:
|
||||||
|
|
@ -747,12 +747,14 @@ class StreamingPiCamera2(BaseCamera):
|
||||||
* ``set_static_green_equalisation`` to set geq offset to max
|
* ``set_static_green_equalisation`` to set geq offset to max
|
||||||
* ``calibrate_lens_shading``
|
* ``calibrate_lens_shading``
|
||||||
* ``calibrate_white_balance``
|
* ``calibrate_white_balance``
|
||||||
|
* ``set_background``
|
||||||
"""
|
"""
|
||||||
self.flat_lens_shading()
|
self.flat_lens_shading()
|
||||||
self.auto_expose_from_minimum()
|
self.auto_expose_from_minimum()
|
||||||
self.set_static_green_equalisation()
|
self.set_static_green_equalisation()
|
||||||
self.calibrate_lens_shading()
|
self.calibrate_lens_shading()
|
||||||
self.calibrate_white_balance()
|
self.calibrate_white_balance()
|
||||||
|
self.set_background(portal)
|
||||||
|
|
||||||
@lt.thing_action
|
@lt.thing_action
|
||||||
def flat_lens_shading(self) -> None:
|
def flat_lens_shading(self) -> None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue