Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to modify shown coordinates #6779

Open
fsalmasri opened this issue Dec 11, 2024 · 3 comments
Open

How to modify shown coordinates #6779

fsalmasri opened this issue Dec 11, 2024 · 3 comments

Comments

@fsalmasri
Copy link

How to modify the shown coordinates?

For example the x,y,w,h are normalized percentage of the image.

I want to show the width and height in pixels by unnormalizing them. is it possible to know in which function or file I can find their called function ?

@heidi-humansignal
Copy link
Collaborator

Hello,

Yes, if I understand correctly, I think you are looking for this: https://docs.humansignal.com/includes/image_units.html

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

@fsalmasri
Copy link
Author

I want to change the frontend. I'm looking where to find it in the code. I'm using the docker version.

@heidi-humansignal
Copy link
Collaborator

Hello,

It mighe be in this file: label_studio/web/libs/editor/src/utils/image.js, is that what you are looking for? I would be careful in change the code.

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants