Skip to content

How to link texts and annotations? #3

Description

@shunk031

Hi, thank you for publishing the awesome dataset!

I have a question about the link between texts and annotation. We can find texts/train.txt and texts/test.txt in the dataset.
Is there a way to link this texts data to the annotation data?

The following is the data at the beginning of texts/train.txt.

{'isSample': '0', 'image': 'ali_anno_1/0.png', 'rotate': 0, 'data': [{'userSelectedValue': {'name': '新款尝鲜价'}, 'categoryDesc': '新款尝鲜价', 'points': [{'x': 101, 'y': 674}, {'x': 414, 'y': 674}, {'x': 414, 'y': 737}, {'x': 101, 'y': 737}]}], 'pin': 'jd_50e595b192af9'}
{'isSample': '0', 'image': 'ali_anno_1/22.png', 'rotate': 0, 'data': [{'userSelectedValue': {'name': '手工純銅鍋'}, 'categoryDesc': '手工純銅鍋', 'points': [{'x': 79, 'y': 600}, {'x': 443, 'y': 600}, {'x': 443, 'y': 666}, {'x': 79, 'y': 666}]}, {'userSelectedValue': {'name': '立即加購'}, 'categoryDesc': '立即加購', 'points': [{'x': 202, 'y': 692}, {'x': 311, 'y': 692}, {'x': 311, 'y': 718}, {'x': 202, 'y': 718}]}], 'pin': 'jd_50e595b192af9'}

...

I think it would be possible to link the image as a key. However, there is no image with such a filename in the annotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions