Skip to content

Commit

Permalink
Issue #8: added conditional statement stub taking into account unused…
Browse files Browse the repository at this point in the history
… calibration file parameter of Calibrator
  • Loading branch information
Dzhoshkun Ismail Shakir committed Apr 19, 2018
1 parent e94969e commit bd16d05
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions endocal/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,13 @@ def __init__(self, pattern_specs, full, file_path=None, roi=None):
self.grids = None
self.grid_candidates = None
self.image_size = None
self.camera_matrix = None
self.dist_coeffs = None
self.reproj_errs = None
if file_path is not None:
# TODO
pass
else:
self.camera_matrix = None
self.dist_coeffs = None
self.reproj_errs = None
Calibrator.MIN_FRAME_COUNT = 10
self.calibration_thread = None
self.roi = full
Expand Down

0 comments on commit bd16d05

Please sign in to comment.