Improvements to properties and docstrings
This commit is contained in:
parent
4d9669f8ae
commit
0e1d9cca18
3 changed files with 29 additions and 10 deletions
|
|
@ -380,6 +380,11 @@ class StreamingPiCamera2(BaseCamera):
|
|||
f"but found {hw_sensor_model}."
|
||||
)
|
||||
|
||||
@property
|
||||
def focus_fom(self) -> int:
|
||||
"""Return the focus figure of merit."""
|
||||
return self._focus_fom
|
||||
|
||||
def _on_frame_complete(self, request: Request) -> None:
|
||||
md = request.get_metadata()
|
||||
fom = md.get("FocusFoM")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue