mirror of
https://github.com/open-mmlab/mmocr.git
synced 2025-06-03 21:54:47 +08:00
* init dataset doc * update data prep doc * fix * fix * fix some docs * update * update * updates * update
1.1 KiB
1.1 KiB
Key Information Extraction
Overview
The structure of the key information extraction dataset directory is organized as follows.
└── wildreceipt
├── class_list.txt
├── dict.txt
├── image_files
├── openset_train.txt
├── openset_test.txt
├── test.txt
└── train.txt
Preparation Steps
WildReceipt
- Just download and extract wildreceipt.tar.
WildReceiptOpenset
- Step0: have WildReceipt prepared.
- Step1: Convert annotation files to OpenSet format:
# You may find more available arguments by running
# python tools/data/kie/closeset_to_openset.py -h
python tools/data/kie/closeset_to_openset.py data/wildreceipt/train.txt data/wildreceipt/openset_train.txt
python tools/data/kie/closeset_to_openset.py data/wildreceipt/test.txt data/wildreceipt/openset_test.txt
You can learn more about the key differences between CloseSet and OpenSet annotations in our [tutorial](../tutorials/kie_closeset_openset.md).