Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

how tu custom my annotation in example #1486

Open
Cyurainya opened this issue Jun 29, 2023 · 0 comments
Open

how tu custom my annotation in example #1486

Cyurainya opened this issue Jun 29, 2023 · 0 comments

Comments

@Cyurainya
Copy link

  1. I chose the image_box for examples
  2. As the anonotations shows, the examples image is https://htx-misc.s3.amazonaws.com/opensource/label-studio/examples/images/nick-owuor-astro-nic-visuals-wDifg5xc9Z4-unsplash.jpg. And its predictions is
    "result": [ { "from_name": "tag", "id": "t5sp3TyXPo", "source": "$image", "to_name": "img", "type": "rectanglelabels", "value": { "height": 11.612284069097889, "rectanglelabels": [ "Moonwalker" ], "rotation": 0, "width": 39.6, "x": 13.2, "y": 34.702495201535505 } } ]
  3. The width of this image is 2242, the height is 2802. But the its predictions is
image 4. What is the calculation logic of this value? 5. If I have a picture, which originalWidth is 1342, originalHeigth is 1524. When the picture is displayed according to the original size, the x of a value is 123, the y is 153, the width is 93.12, and the height is 242. It I want to replace this annotations in image_box with this image and model value. What is the width, height, x position, and y position of this value? Could you please tell me how to calcultion the final value?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant