Skip to content

Conversation

@Govindskatyura
Copy link

Error : LSD Error: new_image_double: invalid image size.
in the following code, Instead of raising the error lsd close the kernel and stop the execution.

test_img = np.zeros((1,100),dtype=np.uint8)
try:
    lsd(test_img)
except Exception as e:
    print(e)

Error : LSD Error: new_image_double: invalid image size.
in the following code, Instead of raising the error lsd close the kernel and stop the execution.
``` 
test_img = np.zeros((1,100),dtype=np.uint8)
try:
    lsd(test_img)
except Exception as e:
    print(e)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant