The CASIA-10K dataset can be downloaded from this link.
After downloading the file as above, unzip it, after which the directory structure should be like as follows (ignoring the archive file):
CASIA-10K
|--- test
| |--- PAL00001.jpg
| |--- PAL00001.txt
| |--- PAL00005.jpg
| |--- PAL00005.txt
| |--- ...
|--- train
| |--- PAL00003.jpg
| |--- PAL00003.txt
| |--- PAL00006.jpg
| |--- PAL00006.txt
| |--- ...
|--- CASIA-10K_test.txt
|--- CASIA-10K_train.txt
To prepare the data for text detection, you can run the following commands:
python tools/dataset_converters/convert.py \
--dataset_name casia10k --task det \
--image_dir path/to/CASIA-10K/train/ \
--label_dir path/to/CASIA-10K/train \
--output_path path/to/CASIA-10K/det_gt.txt
The generated standard annotation file det_gt.txt
will now be placed under the folder CASIA-10K/
.
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》