client icon indicating copy to clipboard operation
client copied to clipboard

Merge overlapping rect highlights

Open robertknight opened this issue 5 months ago • 1 comments

If many users draw rect highlights over the same area, this can end up looking messy and obscuring the content:

Image

This could perhaps be fixed by merging highlights whose shapes are sufficiently close. In computer vision a common metric for measuring similarity of bounding boxes is to take the intersection-over-union, so perhaps that could be used. Implementing this would have the consequence that adding or removing a highlight may alter how other highlights are displayed.

robertknight avatar May 08 '25 08:05 robertknight