pv-vision icon indicating copy to clipboard operation
pv-vision copied to clipboard

pv_vision.transform_crop._cell_crop.detect_vertical_lines needs debugging

Open eccoope opened this issue 1 year ago • 1 comments

Was trying to run through tutorials/transform_split.ipynb and noticing a couple of issues.

  1. Easy to fix - when detect_vertical_lines( ) calls split_img( ), an incorrect keyword is used (split instead of n_split) which raises an error
  2. More involved fix - IndexError is raised when detectoutliers( ) is called by detect_vertical_lines( )in line 364. The error is triggered by line 125 in detectoutliers( ). Not sure what is causing this.

eccoope avatar Feb 16 '24 17:02 eccoope

Thanks for the comments. I have fix the bug and tutorials/transform_split.ipynb can run without error now.

Can you provide more details of your second issue? I cannot repeat what you described.

X-Chen97 avatar Jun 04 '24 18:06 X-Chen97