-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
It is possible to produce crops with no pixels. This is when either length or height of a bounding box is zero. This typically crashes the program or produces an error when attempting to export crops.
I solved this by seaching for "0.0\n" in the corresponding .inselect file to find the box that causes the problem. I am not sure when this problem is introduced, if its something that is caused by human error or the segmentation function.
Either way, it should not be possible to create a bounding box with zero pixels in order to avoid error when exporting crops.
This problem was produced with inselect 0.1.36 running on Ubuntu 16.04, Python 3.5.2, Numpy 1.11.2, OpenCV 3.1.0, PyQt5 5.7, Qt 5.7.0, scikit-learn 0.18.1, SciPy 0.17.1
Metadata
Metadata
Assignees
Labels
No labels