Add native implementation of find_tuning_algo
This commit is contained in:
parent
2010e8eeb2
commit
ee2ef848b1
2 changed files with 29 additions and 11 deletions
|
|
@ -374,7 +374,7 @@ class StreamingPiCamera2(BaseCamera):
|
|||
raise MissingCalibrationError("No tuning data is set.")
|
||||
return None
|
||||
try:
|
||||
return Picamera2.find_tuning_algo(self.tuning, algorithm_name)
|
||||
return tf_utils.find_tuning_algo(self.tuning, algorithm_name)
|
||||
except StopIteration as e:
|
||||
if raise_if_missing:
|
||||
raise MissingCalibrationError(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue