# Images Bbox object detection + Relations

**URL:** <https://community.labelstud.io/t/images-bbox-object-detection-relations/553>\
**Category:** Label Studio Support\
**Tags:** annotations\
**Created:** [May 13, 2025, 7:57pm UTC](https://community.labelstud.io/t/images-bbox-object-detection-relations/553 "2025-05-13T19:57:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marianna](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@Marianna](https://community.labelstud.io/u/Marianna)\
**Post date:** [May 13, 2025, 7:57pm UTC](https://community.labelstud.io/t/images-bbox-object-detection-relations/553/1 "2025-05-13T19:57:18Z")

</div>

I want to create relations between bboxes of two images. Since the relation is based on the same labels I want to use just one RectangleLabel object for each label so I can use them in both images. So far I have this layout (as you can see I need to duplicate the labels) :

 ![Screenshot 2025-05-13 at 3.49.12 p.m.](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/86a469b4b098a878bebc2359fea4eac5b67c0d2f.png)

I tried this, but it didn’t workout (It doesn’t allow me to mark the bboxes):

```
<View style="width: 49%; margin-right: 1.99%">
  <RectangleLabels name="class-left" toName="img-left,img-right">
	<Label value="Avion" background="green"/>
    <Label value="Car" background="red"/>
  </RectangleLabels>
  <Image name="img-left" value="$image1"/>
  <Image name="img-right" value="$image2"/>
</View>

```

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [June 2, 2025, 11:10am UTC](https://community.labelstud.io/t/images-bbox-object-detection-relations/553/2 "2025-06-02T11:10:43Z")

</div>

Unfortunately, you can’t use the same control tag (rectangle labels) for multiple object tags (images) by design. The solution on your screenshot with two RectangleLabels is possible only.
