Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 17, 2025
1 parent c7026ec commit 96d89a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ def make_mode_group(self):
self.rectify_label = QLabel("Rectify option:")
self.rectify_type_combobox = QComboBox()
self.rectify_type_combobox.addItem(RectifyMode.OPENCV.value, RectifyMode.OPENCV)
self.rectify_type_combobox.addItem(RectifyMode.FIXED_ASPECT_RATIO.value, RectifyMode.FIXED_ASPECT_RATIO)
self.rectify_type_combobox.addItem(
RectifyMode.FIXED_ASPECT_RATIO.value, RectifyMode.FIXED_ASPECT_RATIO
)
self.rectify_type_combobox.setEnabled(False)

def pause_callback():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
from typing import List
from typing import Optional
from typing import Tuple
from intrinsic_camera_calibrator.types import RectifyMode

import cv2
from intrinsic_camera_calibrator.types import RectifyMode
import numpy as np


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ class CollectionStatus(Enum):
REDUNDANT = 3
ACCEPTED = 4


class RectifyMode(Enum):
"""Methods to rectify the image."""

OPENCV = "OpenCV"
FIXED_ASPECT_RATIO = "Fixed aspect ratio"
FIXED_ASPECT_RATIO = "Fixed aspect ratio"

0 comments on commit 96d89a3

Please sign in to comment.