Commit Graph
3 Commits
Author SHA1 Message Date
Lieven Govaerts ba12d85798 Avoid crash on "Edit Label" when there's no bounding boxes left.
The scenario is:
1. Open an image
2. Delete all bounding boxes
3. Select "Edit Label".

* labelImg.py
  (editLabel): Avoid crash zhen there's no currently selected item.
2019-01-26 22:15:03 -08:00
Lieven Govaerts 4bb6be6986 Ensure a vertex always stays within the boundaries of the canvas. 2019-01-03 22:48:13 -08:00
Lieven Govaerts 40b30f1cee labelImg.py/loadLabels: correct shapes that are out of image bounds. 2018-12-28 09:28:14 -08:00