Skip to content

Commit

Permalink
fix: use the old raw processor correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Nov 16, 2024
1 parent 17b0b89 commit 89a7ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fishsense_lite/commands/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ def execute(
return

raw_processor_hist_eq = RawProcessor(
enable_histogram_equalization=not disable_histogram_equalization
input_file, enable_histogram_equalization=not disable_histogram_equalization
)
image_rectifier = ImageRectifier(lens_calibration)

try:
img = raw_processor_hist_eq.load_and_process(input_file)
img = next(raw_processor_hist_eq.__iter__())
except:
return
img = image_rectifier.rectify(img)
Expand Down

0 comments on commit 89a7ba9

Please sign in to comment.