Skip to content

Commit

Permalink
Bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhaydarov committed Aug 19, 2022
1 parent 1e67368 commit 1d936b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/planteye_vision/processors/image_crop_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def apply_processor(self, chunks):

try:
image_np = chunk.data[0].value
image_dims = image_np.shape
image_dims = len(image_np.shape)
if image_dims == 3:
value = image_np[self.x_init:x_end, self.y_init:y_end, :]
elif image_dims == 2:
Expand Down

0 comments on commit 1d936b4

Please sign in to comment.