Datasets:
Tasks:
Text Retrieval
Modalities:
Image
Formats:
imagefolder
Size:
< 1K
yunusserhat
commited on
Commit
•
633ada8
1
Parent(s):
3c8f317
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +1 -0
- MSRA_TD500_Readme.doc +3 -0
- README.md +53 -0
- test/IMG_0059.JPG +3 -0
- test/IMG_0059.gt +2 -0
- test/IMG_0080.JPG +3 -0
- test/IMG_0080.gt +2 -0
- test/IMG_0103.JPG +3 -0
- test/IMG_0103.gt +3 -0
- test/IMG_0156.JPG +3 -0
- test/IMG_0156.gt +1 -0
- test/IMG_0158.JPG +3 -0
- test/IMG_0158.gt +1 -0
- test/IMG_0172.JPG +3 -0
- test/IMG_0172.gt +7 -0
- test/IMG_0445.JPG +3 -0
- test/IMG_0445.gt +7 -0
- test/IMG_0449.JPG +3 -0
- test/IMG_0449.gt +3 -0
- test/IMG_0461.JPG +3 -0
- test/IMG_0461.gt +3 -0
- test/IMG_0462.JPG +3 -0
- test/IMG_0462.gt +2 -0
- test/IMG_0468.JPG +3 -0
- test/IMG_0468.gt +3 -0
- test/IMG_0475.JPG +3 -0
- test/IMG_0475.gt +8 -0
- test/IMG_0477.JPG +3 -0
- test/IMG_0477.gt +9 -0
- test/IMG_0478.JPG +3 -0
- test/IMG_0478.gt +13 -0
- test/IMG_0482.JPG +3 -0
- test/IMG_0482.gt +1 -0
- test/IMG_0485.JPG +3 -0
- test/IMG_0485.gt +4 -0
- test/IMG_0491.JPG +3 -0
- test/IMG_0491.gt +6 -0
- test/IMG_0505.JPG +3 -0
- test/IMG_0505.gt +2 -0
- test/IMG_0507.JPG +3 -0
- test/IMG_0507.gt +8 -0
- test/IMG_0509.JPG +3 -0
- test/IMG_0509.gt +3 -0
- test/IMG_0513.JPG +3 -0
- test/IMG_0513.gt +7 -0
- test/IMG_0520.JPG +3 -0
- test/IMG_0520.gt +6 -0
- test/IMG_0521.JPG +3 -0
- test/IMG_0521.gt +1 -0
- test/IMG_0545.JPG +3 -0
.gitattributes
CHANGED
@@ -53,3 +53,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
+
MSRA_TD500_Readme.doc filter=lfs diff=lfs merge=lfs -text
|
MSRA_TD500_Readme.doc
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb8361d8616aebf50e2d152d09a81b846f09c3017433a1f2acb0826a59a8b30a
|
3 |
+
size 6935040
|
README.md
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
# MSRA Text Detection 500 Database (MSRA-TD500)
|
3 |
+
|
4 |
+
The MSRA Text Detection 500 Database (MSRA-TD500) is a publicly released benchmark designed to evaluate text detection algorithms. This dataset aims to track recent progresses in the field of text detection within natural images, particularly focusing on texts of arbitrary orientations.
|
5 |
+
|
6 |
+
## Dataset Overview
|
7 |
+
|
8 |
+
MSRA-TD500 contains 500 natural images sourced from indoor (e.g., office and mall) and outdoor (e.g., street) scenes captured with a pocket camera. The images depict various elements such as:
|
9 |
+
|
10 |
+
- **Indoor**: Signs, doorplates, and caution plates.
|
11 |
+
- **Outdoor**: Guide boards and billboards, often set against complex backgrounds.
|
12 |
+
|
13 |
+
Images resolutions range from 1296x864 to 1920x1280. This dataset challenges users with the diversity of texts and complexity of backgrounds, featuring texts in different languages (Chinese, English, or both), fonts, sizes, colors, and orientations. Backgrounds may include elements like vegetation and repeated patterns that can be difficult to distinguish from text.
|
14 |
+
|
15 |
+
## Example Images
|
16 |
+
|
17 |
+
![Typical images from MSRA-TD500](example_image_path.png)
|
18 |
+
*Figure 1: Typical images from MSRA-TD500 showing texts labeled as difficult due to factors like blur or occlusion.*
|
19 |
+
|
20 |
+
## Dataset Structure
|
21 |
+
|
22 |
+
The dataset is split into two sets:
|
23 |
+
- **Training Set**: 300 images randomly selected from the original dataset.
|
24 |
+
- **Test Set**: 200 images.
|
25 |
+
|
26 |
+
All images are fully annotated, with the primary unit of annotation being the text line. This differs from the ICDAR datasets, which use the word as the basic unit.
|
27 |
+
|
28 |
+
## Ground Truth Annotation
|
29 |
+
|
30 |
+
Ground truth generation involves locating and bounding each text line using a four-vertex polygon, followed by fitting a minimum area rectangle around the polygon.
|
31 |
+
|
32 |
+
![Ground truth generation](ground_truth_image_path.png)
|
33 |
+
*Figure 2: Ground truth generation process.*
|
34 |
+
|
35 |
+
## Evaluation Protocol
|
36 |
+
|
37 |
+
The evaluation protocol, designed to accommodate texts of arbitrary orientations, uses minimum area rectangles for tighter fitting. Texts labeled as "difficult" include additional challenges like small size, occlusion, blur, or truncation. Detection misses of such texts are not penalized.
|
38 |
+
|
39 |
+
## Ground Truth File Format
|
40 |
+
|
41 |
+
Each image has a corresponding ground truth file. Each line in the file provides details about one text line, marking "difficult" texts with a label.
|
42 |
+
|
43 |
+
```
|
44 |
+
# Ground Truth Format Example
|
45 |
+
Index; Text Coords; Difficulty
|
46 |
+
0; x1,y1,x2,y2,x3,y3,x4,y4; 0
|
47 |
+
```
|
48 |
+
|
49 |
+
*Figure 3: Illustration of the ground truth file format.*
|
50 |
+
|
51 |
+
## Reference
|
52 |
+
|
53 |
+
C. Yao, X. Bai, W. Liu, Y. Ma, and Z. Tu. "Detecting Texts of Arbitrary Orientations in Natural Images." CVPR 2012.
|
test/IMG_0059.JPG
ADDED
Git LFS Details
|
test/IMG_0059.gt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
0 0 300 675 1232 112 0.053651
|
2 |
+
1 0 208 801 1489 178 0.101044
|
test/IMG_0080.JPG
ADDED
Git LFS Details
|
test/IMG_0080.gt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
0 0 439 670 286 94 -0.320308
|
2 |
+
1 0 855 391 940 129 -0.326279
|
test/IMG_0103.JPG
ADDED
Git LFS Details
|
test/IMG_0103.gt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
0 0 610 285 177 109 -0.076043
|
2 |
+
1 0 605 403 245 133 -0.090659
|
3 |
+
2 0 617 553 175 75 -0.140250
|
test/IMG_0156.JPG
ADDED
Git LFS Details
|
test/IMG_0156.gt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
0 0 706 335 354 124 -0.072969
|
test/IMG_0158.JPG
ADDED
Git LFS Details
|
test/IMG_0158.gt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
0 0 502 385 297 54 -0.061989
|
test/IMG_0172.JPG
ADDED
Git LFS Details
|
test/IMG_0172.gt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 0 584 473 326 32 -0.123971
|
2 |
+
1 0 425 524 669 67 -0.113492
|
3 |
+
2 0 538 625 449 27 -0.109650
|
4 |
+
3 0 549 678 380 35 -0.115388
|
5 |
+
4 0 962 652 27 32 -0.170735
|
6 |
+
5 0 738 726 74 37 -0.138006
|
7 |
+
6 1 478 24 503 396 -0.034248
|
test/IMG_0445.JPG
ADDED
Git LFS Details
|
test/IMG_0445.gt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 0 730 437 136 22 -0.362544
|
2 |
+
1 0 753 466 80 13 -0.325970
|
3 |
+
2 0 731 506 100 24 -0.321750
|
4 |
+
3 0 713 786 87 15 -0.171149
|
5 |
+
4 0 684 802 152 17 -0.166282
|
6 |
+
5 1 648 872 83 9 -0.147078
|
7 |
+
6 1 725 873 99 10 -0.143340
|
test/IMG_0449.JPG
ADDED
Git LFS Details
|
test/IMG_0449.gt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
0 0 815 581 111 26 0.195581
|
2 |
+
1 0 815 616 119 21 0.153945
|
3 |
+
2 0 828 667 108 30 0.105377
|
test/IMG_0461.JPG
ADDED
Git LFS Details
|
test/IMG_0461.gt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
0 0 825 409 169 52 0.212432
|
2 |
+
1 0 798 467 224 45 0.155868
|
3 |
+
2 0 851 579 160 52 0.087028
|
test/IMG_0462.JPG
ADDED
Git LFS Details
|
test/IMG_0462.gt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
0 0 1035 402 262 43 -0.101610
|
2 |
+
1 0 1078 517 139 41 -0.044089
|
test/IMG_0468.JPG
ADDED
Git LFS Details
|
test/IMG_0468.gt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
0 0 143 335 413 59 0.447971
|
2 |
+
1 0 1156 962 349 49 0.516231
|
3 |
+
2 0 1125 1057 299 43 0.525877
|
test/IMG_0475.JPG
ADDED
Git LFS Details
|
test/IMG_0475.gt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 1 229 638 66 11 0.285118
|
2 |
+
1 0 105 387 156 38 0.186979
|
3 |
+
2 0 340 425 222 42 0.153708
|
4 |
+
3 0 678 479 327 52 0.166156
|
5 |
+
4 0 493 720 94 17 0.293589
|
6 |
+
5 0 871 839 131 17 0.292203
|
7 |
+
6 0 1333 566 230 64 0.179464
|
8 |
+
7 0 1442 1016 197 23 0.305623
|
test/IMG_0477.JPG
ADDED
Git LFS Details
|
test/IMG_0477.gt
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 0 515 550 364 37 0.077837
|
2 |
+
1 0 553 1258 62 15 -0.153944
|
3 |
+
2 0 566 1257 139 37 -0.055499
|
4 |
+
3 1 1420 1122 35 15 -0.237836
|
5 |
+
4 0 1429 1130 70 25 -0.288587
|
6 |
+
5 0 1601 1100 108 17 -0.180699
|
7 |
+
6 0 1606 1120 115 18 -0.165149
|
8 |
+
7 0 1130 589 192 33 0.076772
|
9 |
+
8 0 1149 632 120 27 0.060272
|
test/IMG_0478.JPG
ADDED
Git LFS Details
|
test/IMG_0478.gt
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 0 117 33 187 33 0.299683
|
2 |
+
1 0 135 105 409 80 0.269849
|
3 |
+
2 0 903 1034 116 61 -0.111683
|
4 |
+
3 0 930 1103 67 38 -0.175592
|
5 |
+
4 0 1183 1036 81 49 -0.129147
|
6 |
+
5 0 1200 1092 48 34 -0.216085
|
7 |
+
6 1 1693 545 35 18 0.211093
|
8 |
+
7 1 1561 489 34 15 0.236849
|
9 |
+
8 0 1564 512 73 32 0.230220
|
10 |
+
9 0 817 489 110 40 0.144614
|
11 |
+
10 0 814 566 319 53 0.139609
|
12 |
+
11 0 820 628 262 40 0.093841
|
13 |
+
12 0 827 689 267 41 0.064549
|
test/IMG_0482.JPG
ADDED
Git LFS Details
|
test/IMG_0482.gt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
0 0 672 690 84 39 0.099669
|
test/IMG_0485.JPG
ADDED
Git LFS Details
|
test/IMG_0485.gt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 0 862 563 188 44 -0.306419
|
2 |
+
1 0 883 616 202 50 -0.261885
|
3 |
+
2 0 980 750 185 47 -0.169625
|
4 |
+
3 0 764 1173 379 28 0.207769
|
test/IMG_0491.JPG
ADDED
Git LFS Details
|
test/IMG_0491.gt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 0 285 1142 126 30 0.141897
|
2 |
+
1 0 356 367 583 102 -0.116171
|
3 |
+
2 0 337 449 838 174 -0.043036
|
4 |
+
3 0 376 644 390 38 -0.026660
|
5 |
+
4 0 301 1009 375 36 0.081342
|
6 |
+
5 0 354 900 375 40 0.052729
|
test/IMG_0505.JPG
ADDED
Git LFS Details
|
test/IMG_0505.gt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
0 0 186 288 1219 295 0.054138
|
2 |
+
1 0 141 630 1424 443 0.052029
|
test/IMG_0507.JPG
ADDED
Git LFS Details
|
test/IMG_0507.gt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 0 306 365 941 53 -0.517255
|
2 |
+
1 1 476 136 308 28 -0.272369
|
3 |
+
2 0 1030 12 223 26 -0.210122
|
4 |
+
3 0 340 942 230 33 -0.009049
|
5 |
+
4 0 340 980 242 32 -0.008403
|
6 |
+
5 0 322 1128 579 43 0.072788
|
7 |
+
6 1 321 1186 621 9 0.083945
|
8 |
+
7 0 335 1023 323 34 0.045131
|
test/IMG_0509.JPG
ADDED
Git LFS Details
|
test/IMG_0509.gt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
0 0 665 544 147 95 -0.083141
|
2 |
+
1 0 817 534 13 26 -0.135528
|
3 |
+
2 0 587 1011 369 66 0.359776
|
test/IMG_0513.JPG
ADDED
Git LFS Details
|
test/IMG_0513.gt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 0 704 266 272 53 -0.113577
|
2 |
+
1 0 665 332 392 50 -0.101689
|
3 |
+
2 0 740 512 720 50 -0.113911
|
4 |
+
3 0 759 642 647 45 -0.105689
|
5 |
+
4 0 774 732 307 48 -0.115002
|
6 |
+
5 0 421 940 481 26 -0.095939
|
7 |
+
6 0 910 950 521 26 -0.109808
|
test/IMG_0520.JPG
ADDED
Git LFS Details
|
test/IMG_0520.gt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
0 1 813 3 119 22 0.084544
|
2 |
+
1 0 333 367 240 86 -0.025526
|
3 |
+
2 0 365 764 244 81 -0.188221
|
4 |
+
3 0 764 358 183 78 -0.010989
|
5 |
+
4 0 1090 355 142 65 0.000000
|
6 |
+
5 0 1097 660 137 60 -0.140852
|
test/IMG_0521.JPG
ADDED
Git LFS Details
|
test/IMG_0521.gt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
0 0 171 596 1083 355 -0.295440
|
test/IMG_0545.JPG
ADDED
Git LFS Details
|