Fix typing for gamma_curve
This commit is contained in:
parent
b716013ef2
commit
3020ab59f4
3 changed files with 8 additions and 8 deletions
|
|
@ -719,8 +719,8 @@ class StreamingPiCamera2(BaseCamera):
|
|||
)
|
||||
|
||||
@lt.property
|
||||
def gamma_correction(self) -> float:
|
||||
"""Return the gamma correction from the tuning file."""
|
||||
def gamma_correction(self) -> list[int]:
|
||||
"""Return the gamma correction curve from the tuning file."""
|
||||
return tf_utils.get_gamma_curve(self.tuning)
|
||||
|
||||
@lt.action
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue