Stop overwriting CCM in full recalibrate
Fix typo
This commit is contained in:
parent
ac08462405
commit
1b14990b76
1 changed files with 2 additions and 3 deletions
|
|
@ -170,7 +170,7 @@ class StreamingPiCamera2(BaseCamera):
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set tuning to default tuning. This will be overwritten when the Thing is
|
# Set tuning to default tuning. This will be overwritten when the Thing is
|
||||||
# connects to the server if tuning is saved to disk.
|
# connected to the server if tuning is saved to disk.
|
||||||
try:
|
try:
|
||||||
self.tuning = copy.deepcopy(self.default_tuning)
|
self.tuning = copy.deepcopy(self.default_tuning)
|
||||||
except NotConnectedToServerError:
|
except NotConnectedToServerError:
|
||||||
|
|
@ -837,7 +837,7 @@ class StreamingPiCamera2(BaseCamera):
|
||||||
* ``auto_expose_from_minimum``
|
* ``auto_expose_from_minimum``
|
||||||
* ``set_static_green_equalisation`` to set geq offset to max
|
* ``set_static_green_equalisation`` to set geq offset to max
|
||||||
* ``calibrate_lens_shading`` (also sets colour gains for white balance)
|
* ``calibrate_lens_shading`` (also sets colour gains for white balance)
|
||||||
* ``reset_ccm``
|
|
||||||
* ``set_background``
|
* ``set_background``
|
||||||
"""
|
"""
|
||||||
self.flat_lens_shading()
|
self.flat_lens_shading()
|
||||||
|
|
@ -845,7 +845,6 @@ class StreamingPiCamera2(BaseCamera):
|
||||||
self.set_static_green_equalisation()
|
self.set_static_green_equalisation()
|
||||||
self.set_ce_enable_to_off()
|
self.set_ce_enable_to_off()
|
||||||
self.calibrate_lens_shading()
|
self.calibrate_lens_shading()
|
||||||
self.reset_ccm()
|
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
self.set_background(portal)
|
self.set_background(portal)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue