Replies: 2 comments 2 replies
-
Hi @uginy They are great news! Just my thoughts:
From a user point of view, sounds ok. From development point of view, where will you store this flag? I can suggest storing it in Redux storage.. Maybe update concept of activated objects, allowing multiple activated objects. Anyway, changes are necessary in both cvat-ui and cvat-canvas.
I think we should update copyShape action creator to be able to copy a lot of shapes at the same time (I don't see significant issues here). But I am not sure that pasting shapes one by one is what users expect when they copy/paste objects. Better when you paste objects, I think they all should be visible (with mouse cursor in the center). So, when you move cursor, all the shapes are moved in the way which left cursor in the center (allow initialState to be an array of objects in cvat-canvas (method
I think when several objects selected and we move one of them, centers of other selected objects should be moved the same way (implementation in cvat-canvas module). I do not expect difficulties here. Also I believe if we change label/attribute/occluded/locked/pinned/visible of one of selected shapes, value should be applied to others. The same about propagation, changing orientation and resetting perspective, changing z order (to background, to foreground) features, delete and others. So, there are a lot of features and generally it is huge, but amazing feature. Of course, we do not expect everything from you side. To achieve the best, we should go step by step. Even feature of multiple copy/paste and dragging would be interesting for the first step. One more question is about resizing, probably we should resize all selected shapes when a user expects it (for example when several bounding boxes selected). But again, I am not sure. Maybe somebody has other thoughts. |
Beta Was this translation helpful? Give feedback.
-
Hi, this is a great idea! |
Beta Was this translation helpful? Give feedback.
-
Hi guys!
Soon i must implement a feature for multiple shapes' selection and copy/paste them.
Could you advice an approach how to do this better?
Is it ok that I will do that this way:
The problem:
I would be appreciated for any kind of help or advice.
Beta Was this translation helpful? Give feedback.
All reactions