Skip to content

Commit

Permalink
remove vestigial comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mprib committed Aug 3, 2024
1 parent ebbe2c9 commit dd3bae6
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/test_intrinsic_calibrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,6 @@ def test_autopopulate_data():

sleep(.5)

# actual_grid_count = len(intrinsic_calibrator.calibration_frame_indices)
# # build new frame list
# new_potential_frames = []
# for frame_index, ids in intrinsic_calibrator.all_ids.items():
# if frame_index not in intrinsic_calibrator.calibration_frame_indices:
# if len(ids) > 3: # just a quick check for minimal data in the frame
# new_potential_frames.append(frame_index)

# sample_size = target_grid_count-actual_grid_count
# sample_size = min(sample_size, len(new_potential_frames))
# sample_size = max(sample_size,0)

# random_frames = random.sample(new_potential_frames,sample_size)
# for frame in random_frames:
# intrinsic_calibrator.add_calibration_frame_index(frame)

intrinsic_calibrator.backfill_calibration_frames()
intrinsic_calibrator.calibrate_camera()
assert(camera.grid_count ==target_grid_count)
Expand Down

0 comments on commit dd3bae6

Please sign in to comment.