Open nathanielrindlaub opened 2 years ago
The question is: what are the preconditions for running this "are there objects in the image" check and auto-applying or removing empty labels? It could happen
Also still need to be mindful/think about how this would interact w/ undo & redo.
Also need to think about what controls would be necessary after implementing this (i.e., is "Mark empty" still necessary).
Right now, an image can have no objects at all for two reasons: it either never received a prediction from Megadetector, or it did get predictions, but the returned objects/labels we all invalidated. If all objects on an image a manually invalidated, the user still has to click "mark as empty" to apply an empty object to that image. It would be nice to automate this.
Likewise, if Megadetector didn't find any objects and an empty object was applied, and then a user adds an object to it, it would be great to automatically invalidate the empty object.