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

OCR #7164

Open
HoodiniPower opened this issue Mar 4, 2025 · 1 comment
Open

OCR #7164

HoodiniPower opened this issue Mar 4, 2025 · 1 comment

Comments

@HoodiniPower
Copy link

hello, i need help. I want to annotate every symbol of car plate, so i'm using OCR. but in template code i'm trying to change text area 'toName' from image to poly, so this description can be assigned to poly, not to image, because if i put image, then this text is going to be attached to the image, not to polygon. but when i'm trying to change it -> textarea disappearing. can you please explain it to me.

@heidi-humansignal
Copy link
Collaborator

Hello,

Thank you for contacting Label Studio,

It looks like the issue is caused by the fact that, in Label Studio, the control tag’s toName attribute must point to an object tag (such as an  tag) rather than another control tag like . When you set the TextArea’s toName to “poly”, the system can’t find the expected object based on that name, so the TextArea is removed from the interface.

if you want your text annotations to work properly with your OCR workflow (e.g., to describe each car plate symbol), keep the TextArea’s toName set to a valid object tag such as "image." If you need the description to be logically tied to the polygon, you might process the results afterward to link the polygon with the text, but within the Label Studio configuration the control tag (TextArea) must reference an object tag.

Please let us know if you need further assistance!

Comment by Oussama Assili
Workflow Run

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

No branches or pull requests

2 participants