Closed dlangenk closed 10 months ago
Since SAM generates masks but Biigle can only deal with polygons this leads to ambiguous results. Add a check that discards polygons that do not contain the mouse position.
A good example for this "bug" is https://biigle.de/images/2514245/annotations?r=32&x=1287&y=879 The fish is split into two parts. SAM always picks up the left part so you cannot annotate the right part.
Since SAM generates masks but Biigle can only deal with polygons this leads to ambiguous results. Add a check that discards polygons that do not contain the mouse position.