Bounding box label position

Hello,

We have a an automated system that is generating images and bounding boxes for some elements. We're currently getting some false-positive results, so I'm creating a recipe to perform some manual validation of these images. This recipe is setup using view_id = image and I manually pass the span that contains the bounding box. The problem is that the label for the bounding box is positioned at the bottom-right corner, and it is partially cut off. So, is it possible to specify the position of the bounding box label? Maybe top-left?

Thanks

Not at the moment – but we could add this feature. At the moment, the interface will check where it has the most space and then will use that to decide where to position the label. So I'm surprised it fails in this case. Are you able to share a screenshot of an example?

And you're only ever looking at one "image span" at a time, right? In the meantime, you could then probably work around this by not setting the label on the span but on the top-level task. So instead of this:

{"image": "...", "spans": [{"label": "LABEL", "points": [...]}]}

You could do this:

{"image": "...", "label": "LABEL", "spans": [{"points": [...]}]}

Here's an example

The label for the bounding box is supposed to say HOUSE. Also, I should mention that I'm using prodigy 1.7.1, and I don't have access to a newer version.

I did try setting label on the top-level task and that didn't work. The label did not show up on the interface.

Thanks – I'll look into that! Should be easy to replicate with similar dimensions.

Ah, sorry, my bad: I forgot to mention that you'd also have to change the view_id to classification (which renders a top-level label with either an image, text, etc. – whatever is found in the task).

Thank you

1 Like