Skip to content

Commit

Permalink
Remove previous save function
Browse files Browse the repository at this point in the history
  • Loading branch information
WillB97 committed Jun 29, 2024
1 parent 002a0a6 commit 1287b0d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions sbot/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,6 @@ def capture(self, *, save: PathLike | None = None) -> NDArray:
self._cam.save(name=save, frame=raw_frame)
return raw_frame

def save(self, path: Union[Path, str], *, frame: Optional[NDArray] = None) -> None:
"""
Save an annotated image to a path.
:param path: The path to save the image to,
this is given a JPEG extension if none is provided.
:param frame: An image to annotate and save, instead of capturing a new one,
defaults to None
"""
self._cam.save(path, frame=frame)

def _set_marker_sizes(
self,
tag_sizes: Union[float, Dict[int, float]],
Expand Down

0 comments on commit 1287b0d

Please sign in to comment.