Python - Multiple persistent modifiable rectangle selector [closed]

asked 2019-05-26 05:39:27 -0600

Synaps gravatar image

updated 2019-05-26 10:43:40 -0600

Hi,

I am currently trying to display an image with several highlighted and modifiable region of interests. I want to solve it by using for example the rectangleselector from the matplotlib.widgets.

The issue is just I am not able to blend in multiple persistent dragable resizeable bounding boxes.

The example is here.

If you have an alternative approach please let me know.

I would like to have like in the aforementioned example multiple rectangle selector objects. I hope you can help me.

[Context: I would show a photo of a traffic scene, and I would let the programm create after a 2D object detection several bounding boxes. I would like to give the user the possibility to modify the position and size. The issue is: I can just make only one interactive persistent rectangle. I do not know how to append it, to have several interactive concurrent rectangles.]

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by berak
close date 2019-05-26 10:20:58.601475