Skip to content

Commit

Permalink
fix: y axis flipping
Browse files Browse the repository at this point in the history
  • Loading branch information
ShyAssassin committed Nov 12, 2023
1 parent 205937f commit 66c50bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrackingBackend/app/processes/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def preprocess_frame(self, frame: MatLike) -> MatLike:
# flip the frame if needed
if self.config.flip_x_axis:
frame = cv2.flip(frame, 0)
elif self.config.flip_y_axis:
if self.config.flip_y_axis:
frame = cv2.flip(frame, 1)

# TODO: send frame to frontend before cropping, so the user can more easily adjust the roi
Expand Down

0 comments on commit 66c50bb

Please sign in to comment.