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

您好!请问您的coco数据集格式里面的anotation字段里的rec字典数据怎么来的?代表了什么? #12

Open
123jwz opened this issue Jan 2, 2024 · 4 comments

Comments

@123jwz
Copy link

123jwz commented Jan 2, 2024

你的数据集json文件中anotation字段里的rec": [35, 33, 44, 41, 38, 47, 50, 46, 41, 33, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96],这25个数字咋来的呢?后面重复的96是填充pad?这个rec字段我发现用现有的标注工具并不能生成,是要自己获取数据,然后插入rec字段么?

@zhangjx123
Copy link
Collaborator

参数表中的chars字段展示了识别的字典,比如35相当于是字典中的第36个字符,96则是padding。可以根据字典进行映射,也可以由你自己来决定这个字典

@123jwz
Copy link
Author

123jwz commented Jan 3, 2024

1:我应该理解您的意思了,假设一张图片里要识别的是ABC,则rec字段里填的就是 chars: !"#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\]^_`abcdefghijklmnopqrstuvwxyz{|},里ABC的index ;是这样子么?:
2:还有另外一个问题,您在文中提出的单点标注,一张图像中要识别的文字只用一个坐标x,y表示,这个xy怎么来的呢?我猜想是根据输入打标签的图像文字坐标数据,经过IAD模块预测来的,不知道是否正确?

@zhangjx123
Copy link
Collaborator

你的理解是正确的~

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