developer0hye / Yolo_Label

GUI for marking bounded boxes of objects in images for training neural network YOLO
MIT License
509 stars 114 forks source link

Add a shortcut to remove images #38

Closed Blatoy closed 4 years ago

Blatoy commented 4 years ago

While using the program I wanted to quickly remove an image but there was no shortcuts for it. This PR adds ctrl-d as a shortcut to remove the current image, but I can change it to something else if you think it is not ideal.

developer0hye commented 4 years ago

@Blatoy

Thanks!! It's good idea!

I have one question before merging this pr.

Have you tested and checked this code several times?

Blatoy commented 4 years ago

@developer0hye

Yes to both! I tested it and both ctrl-d and the remove button work as expected. I moved the delete code to its own function to keep it clean but have not changed anything else in the code otherwise.

developer0hye commented 4 years ago

@Blatoy Thanks for your contribution!