Fix ruff
This commit is contained in:
parent
d913db92af
commit
ab0e00eb1d
2 changed files with 10 additions and 11 deletions
Binary file not shown.
|
|
@ -801,15 +801,15 @@ class StreamingPiCamera2(BaseCamera):
|
||||||
# This is flattened 3x3 matrix. See `colour_correction_matrix`
|
# This is flattened 3x3 matrix. See `colour_correction_matrix`
|
||||||
if self._camera_board == "picamera_v2":
|
if self._camera_board == "picamera_v2":
|
||||||
col_corr_matrix = [
|
col_corr_matrix = [
|
||||||
2.222935,
|
2.222935,
|
||||||
-0.759672,
|
-0.759672,
|
||||||
-0.463262,
|
-0.463262,
|
||||||
-0.683489,
|
-0.683489,
|
||||||
2.711882,
|
2.711882,
|
||||||
-1.028399,
|
-1.028399,
|
||||||
-0.261375,
|
-0.261375,
|
||||||
-0.668016,
|
-0.668016,
|
||||||
1.929391,
|
1.929391,
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
# Note the only other option is the HQ
|
# Note the only other option is the HQ
|
||||||
|
|
@ -822,9 +822,8 @@ class StreamingPiCamera2(BaseCamera):
|
||||||
-0.722417,
|
-0.722417,
|
||||||
-0.11787,
|
-0.11787,
|
||||||
-0.489362,
|
-0.489362,
|
||||||
1.607232
|
1.607232,
|
||||||
]
|
]
|
||||||
|
|
||||||
self.colour_correction_matrix = col_corr_matrix
|
self.colour_correction_matrix = col_corr_matrix
|
||||||
|
|
||||||
@lt.thing_action
|
@lt.thing_action
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue