Skip to content

Commit

Permalink
Force field_view to output crispy image blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ong committed Jun 23, 2020
1 parent c38c35e commit 03fac1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nestris_ocr/calibration/field_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def updateField(self, field, level):
image = lut[field]
# TODO: check out lut.take which might be faster
image = Image.fromarray(image, "RGB")
image = image.resize((self.width, self.height))
image = image.resize((self.width, self.height), Image.NEAREST)
self.updateImage(image)


Expand Down

0 comments on commit 03fac1e

Please sign in to comment.