Skip to content

Commit

Permalink
moving the rotate operation before cropping (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
timmarkhuff authored Aug 31, 2024
1 parent dec3134 commit 79bbacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "framegrab"
version = "0.6.4"
version = "0.7.0"
description = "Easily grab frames from cameras or streams"
authors = ["Groundlight <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/framegrab/grabber.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ def grab(self) -> np.ndarray:
raise GrabError(error_msg)

# apply post processing operations
frame = self._rotate(frame)
frame = self._crop(frame)
frame = self._digital_zoom(frame)
frame = self._rotate(frame)
return frame

def _autogenerate_name(self) -> None:
Expand Down

0 comments on commit 79bbacd

Please sign in to comment.