Add testing for loading the tuning files in the normal test suite now not tied to picamera

This commit is contained in:
Julian Stirling 2025-10-30 19:11:13 +00:00
parent 6763845e38
commit 13d3871059
5 changed files with 276 additions and 31 deletions

View file

@ -706,7 +706,7 @@ class StreamingPiCamera2(BaseCamera):
It is a 9 value tuple used to specify the 3x3 matrix that the GPU pipeline uses
to convert from the camera R,G,B vector to the standard R,G,B.
"""
return tuple(tf_utils.get_ccm(self.tuning)[0]["ccm"])
return tuple(tf_utils.get_ccm(self.tuning))
@colour_correction_matrix.setter # type: ignore
def colour_correction_matrix(